gpt4 book ai didi

oracle - jdbc 调用 oracle 11.1.0.7.0 db 阻塞

转载 作者:行者123 更新时间:2023-12-04 21:27:03 25 4
gpt4 key购买 nike

Jdbc 调用阻塞并且不返回.. 下面是堆栈跟踪

Oracle 服务器 = 11.1.0.7
使用@客户端的Oracle瘦驱动程序

非常感谢您的帮助....

at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:140)
at oracle.net.ns.Packet.receive(Packet.java:240)
at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1034)
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1010)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:588)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:780)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:855)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1377)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1186)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1377)
at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:387)
at oracle.jdbc.driver.OracleDatabaseMetaData.getTypeInfo(OracleDatabaseMetaData.java:670)

最佳答案

可能有以下几个原因:

  • 该线程被锁定在数据库中并等待其他线程提交(或回滚)
  • 这可能是防火墙问题。防火墙可能会处理不当的陈旧连接。
    您可以在此处查看更多信息:http://forums.oracle.com/forums/thread.jspa?messageID=4354229
  • 关于oracle - jdbc 调用 oracle 11.1.0.7.0 db 阻塞,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1676855/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com