aslkdglasdg 2017-11-06 05:10 采纳率: 0%
浏览 7900

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

同样的代码,其他人都可以连上,,,但是我会报错。。
错误日志:
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)

  • 写回答

6条回答

  • aslkdglasdg 2017-11-06 05:19
    关注

    mysql的数据库可以连,就是ORACLE的连不了。。应该不是代码问题。。我 用的开发工具是eclipse。。求大神帮忙下。。

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog