Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol

原创 2015年03月23日 21:16:12

web项目中报错,错误如下:

三月 23, 2015 9:15:02 下午 org.hibernate.cfg.Environment <clinit>

信息: Hibernate 3.3.1.GA
三月 23, 2015 9:15:02 下午 org.hibernate.cfg.Environment <clinit>
信息: hibernate.properties not found
三月 23, 2015 9:15:02 下午 org.hibernate.cfg.Environment buildBytecodeProvider
信息: Bytecode provider name : javassist
三月 23, 2015 9:15:02 下午 org.hibernate.cfg.Environment <clinit>
信息: using JDK 1.4 java.sql.Timestamp handling
三月 23, 2015 9:15:02 下午 org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
信息: Mapping class: com.hsp.domain.Employee -> employee
三月 23, 2015 9:15:02 下午 org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
信息: Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
三月 23, 2015 9:15:03 下午 org.hibernate.util.JDBCExceptionReporter logExceptions
警告: SQL Error: 0, SQLState: null
三月 23, 2015 9:15:03 下午 org.hibernate.util.JDBCExceptionReporter logExceptions
严重: Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol
)
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
警告: Could not obtain connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol
)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:111)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.hsp.test.Test.main(Test.java:15)
Caused by: java.sql.SQLException: ORA-28040: No matching authentication protocol


at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:288)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:357)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
... 25 more


三月 23, 2015 9:15:03 下午 org.hibernate.dialect.Dialect <init>
信息: Using dialect: org.hibernate.dialect.OracleDialect
三月 23, 2015 9:15:03 下午 org.hibernate.dialect.Oracle9Dialect <init>
警告: The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
三月 23, 2015 9:15:03 下午 org.hibernate.dialect.OracleDialect <init>
警告: The OracleDialect dialect has been deprecated; use Oracle8iDialect instead
三月 23, 2015 9:15:03 下午 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
信息: Transaction strategy: org.springframework.orm.hibernate3.SpringTransactionFactory
三月 23, 2015 9:15:03 下午 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
信息: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Automatic flush during beforeCompletion(): disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Automatic session close at end of transaction: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Scrollable result sets: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: JDBC3 getGeneratedKeys(): disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Connection release mode: auto
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Default batch fetch size: 1
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Generate SQL with comments: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Order SQL updates by primary key: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Order SQL inserts for batching: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
信息: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
三月 23, 2015 9:15:03 下午 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
信息: Using ASTQueryTranslatorFactory
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Query language substitutions: {}
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: JPA-QL strict compliance: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Second-level cache: enabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Query cache: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory createRegionFactory
信息: Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
三月 23, 2015 9:15:03 下午 org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge <init>
信息: Cache provider: org.hibernate.cache.EhCacheProvider
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Optimize cache for minimal puts: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Structured second-level cache entries: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Echoing all SQL to stdout
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Statistics: enabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Deleted entity synthetic identifier rollback: disabled
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Default entity-mode: pojo
三月 23, 2015 9:15:03 下午 org.hibernate.cfg.SettingsFactory buildSettings
信息: Named query checking : enabled
三月 23, 2015 9:15:03 下午 org.hibernate.impl.SessionFactoryImpl <init>
信息: building session factory
2015-03-23 21:15:03,878 WARN [net.sf.ehcache.config.ConfigurationFactory] - No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/F:/myeclipse2014%e6%9c%80%e6%96%b0%e6%96%87%e6%a1%a3/SSH/WebRoot/WEB-INF/lib/ehcache-1.2.3.jar!/ehcache-failsafe.xml
三月 23, 2015 9:15:04 下午 org.hibernate.cache.EhCacheProvider buildCache
警告: Could not find configuration [com.hsp.domain.Employee]; using defaults.
三月 23, 2015 9:15:04 下午 org.hibernate.impl.SessionFactoryObjectFactory addInstance
信息: Not binding factory to JNDI, no JNDI name configured
三月 23, 2015 9:15:04 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
信息: Running hbm2ddl schema update
三月 23, 2015 9:15:04 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
信息: fetching database metadata
三月 23, 2015 9:15:04 下午 org.hibernate.util.JDBCExceptionReporter logExceptions
警告: SQL Error: 0, SQLState: null
三月 23, 2015 9:15:04 下午 org.hibernate.util.JDBCExceptionReporter logExceptions
严重: Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol
)
三月 23, 2015 9:15:04 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
严重: could not get database metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol
)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:168)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:346)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.hsp.test.Test.main(Test.java:15)
Caused by: java.sql.SQLException: ORA-28040: No matching authentication protocol


at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:288)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:357)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
... 26 more


三月 23, 2015 9:15:04 下午 org.hibernate.tool.hbm2ddl.SchemaUpdate execute
严重: could not complete schema update
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol
)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:168)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:346)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:814)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:732)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:211)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
at com.hsp.test.Test.main(Test.java:15)
Caused by: java.sql.SQLException: ORA-28040: No matching authentication protocol


at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOsesskey(T4CTTIoauthenticate.java:288)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:357)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
... 26 more

         其中有Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol和ORA-28040: No matching authentication protocol

         明显的 两处错误,表示不能创建PoolableConnectionFactory(ora - 28040:不匹配的身份验证协议和ora - 28040:不匹配的身份验证协议。

            我的数据库是oracle12c,在网上搜了下,大概是驱动版本的问题,但是我是用的是在官网上下载的ojdbc7.jar,在另一篇文章中看到推荐使用oracle自带的jar文件,但找了一份,还是不行。

           网上还提供了另一套决解方案,但是我不知道该怎么放,如下:

解决方案:1.找到你Oracle安装包下的sqlnet.ora文件。(我的文件路径在:E:\app\yuanshu\product\12.1.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora)可做参考。


                  2.为oracle数据库添加支持的版本链接。添加语句为:


                     SQLNET_ALLOWED_LOGON_VERSIONS=(12,11,10,9,8,7)


                     注: 该语句表示支持oracle7-12版本的链接。


                  3.将ojdbc14.jar替换为ojdbc6.jar.


                    (ojdbc14.jar支持JDK1.4,是老式版本,当中存在一些bug。ojdbc6.jar支持JDK6)

                  来自:http://blog.csdn.net/mafan121/article/details/44237861

         最后不得已重新把项目的所有的jar包都重新导入了,所有的文件都重新生成了下,能运行了。但是却不知道错在哪...

         我想应该是jar版本的问题,因为我的jar文件是自己从外面的文件中一份一份复制进来的,可能包含了不同版本的jar文件。

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关文章推荐

Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol

java项目连接远程oracle12 报的错误 解决方法 com.oracle ojdbc 14 ...

No matching authentication protocol错误

在连接数据库oracle数据库时出现了如下错误: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JD...

严重: Cannot create PoolableConnectionFactory (ORA-01017: invalid username/password; logon denied

刚接触oracle不久,今天写项目需要用到

【故障处理】ORA-28040: No matching authentication protocol

【故障处理】ORA-28040: No matching authentication protocol 1.1  BLOG文档结构图   1.2  前言部分 1.2.1 ...

java.sql.SQLException: ORA-28040: No matching authentication protocol 问题

解决办法: oracle 12c   解决 需要在 E:\product\12.1.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora 文件中加入 SQLNET.ALLOW...

Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connec

Cannot create PoolableConnectionFactory(Io 异常: The Network Adapter could not establish the connect...

Java 连接Oracle 报错: java.sql.SQLException: ORA-28040: No matching authentication protocol

Java 连接Oracle 报错: java.sql.SQLException: ORA-28040: No matching authentication protocol解决方法,用Oracle自...

java.sql.SQLException: ORA-28040: 没有匹配的验证协议

一直以来用的都是服务器上的Oracle数据库,今天改成连接本地Oracle 12c数据库是出问题了。hibernate连接Oracle12c时出现        java.sql.SQLExcepti...
  • ddd306
  • ddd306
  • 2015年01月17日 16:03
  • 8648

Oracle12c连接问题ORA-28040:没有匹配的验证协议

使用hibernate 连接oracle12c时报名如下 ORA-28040: 没有匹配的验证协议 --google,发现修改文件即可解决: $ORACLE_HOME/network/adm...

JDBC连接Oracle 12c错误ORA-28040: No matching authentication protocol

JDBC连接Oracle 12c错误ORA-28040: No matching authentication protocol
  • kongxx
  • kongxx
  • 2015年04月05日 13:42
  • 23035
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Cannot create PoolableConnectionFactory (ORA-28040: No matching authentication protocol
举报原因:
原因补充:

(最多只允许输入30个字)