当连接到Oracle数据库时,我遇到了问题,它需要很长时间(大约5分钟),并发送下面显示的异常。大多数情况下,在第一个错误发生后,相同进程的下一个连接将正常工作。注意:我没有使用url,比如:"jdbc:oracle:thin:@xxxx:yyy,实际上是:"jdbc:oracle:thin:@xxxx:yyyy:zzz。)
at oracle.jdbc.driver.PhysicalConnection.at oracle.net.ns.NetInp
我们的应用程序是基于nodejs的,需要查询Oracle DB,所以我们安装了NPM oracledb包。See https://oracle.github.io/odpi/doc/installation.html#linux for help Node-oracledb installation instructions: https://oracle.github.io/node-oracledb/INSTALL.html
Yo