qq_36611128
aslkdglasdg
2017-11-06 05:10

javaweb,使用jdbc连接别人的ORACLE数据库,报错Undefined Error

  • oracle
  • java
  • jdbc
  • 数据库

同样的代码,其他人都可以连上,,,但是我会报错。。
错误日志:
com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO 错误: Undefined Error
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:545)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:537)
at com.zaxxer.hikari.pool.HikariPool.(HikariPool.java:116)
at com.zaxxer.hikari.HikariDataSource.(HikariDataSource.java:72)
at com.zf.dbpool.ConnectionManager.connection(ConnectionManager.java:99)
at com.zf.dbpool.ConnectionManager.init(ConnectionManager.java:59)
at com.zf.statistics.service.impl.StatisticsServiceImpl.saveSzdwXyData(StatisticsServiceImpl.java:67)
at com.zf.statistics.service.impl.StatisticsServiceImpl.main(StatisticsServiceImpl.java:209)
Caused by: java.sql.SQLRecoverableException: IO 错误: Undefined Error
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:774)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:688)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:39)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:117)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:123)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:375)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:204)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:445)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:516)
... 6 more
Caused by: oracle.net.ns.NetException: Undefined Error
at oracle.net.ns.NSProtocolNIO.negotiateConnection(NSProtocolNIO.java:271)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:317)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1438)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:518)

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

5条回答