我的应用程序有问题当我尝试从休眠状态访问我的数据库很长时间后没有重新启动 Tomcat 时,我收到此错误:
Line 2130 : Exception in thread "OracleTimeoutPollingThread" java.lang.NullPointerException
Line 2131 : at oracle.jdbc.driver.OracleTimeoutPollingThread.pollOnce(OracleTimeoutPollingThread.java:209)
Line 2132 : at oracle.jdbc.driver.OracleTimeoutPollingThread.run(OracleTimeoutPollingThread.java:166)
Line 2133 : #
Line 2134 : # An unexpected error has been detected by HotSpot Virtual Machine:
Line 2135 : #
Line 2136 : # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d394aca, pid=4160, tid=5848
Line 2137 : #
Line 2138 : # Java VM: Java HotSpot(TM) Server VM (1.5.0_09-b03 mixed mode)
Line 2139 : # Problematic frame:
Line 2140 : # C [tcnative-1.dll+0x4aca]
Line 2141 : #
Line 2142 : # An error report file with more information is saved as hs_err_pid4160.log
Line 2143 : #
Line 2144 : # If you would like to submit a bug report, please visit:
Line 2145 : # http://java.sun.com/webapps/bugreport/crash.jsp
Line 2146 : #
Line 2147 :
Line 2148 : 2012-08-16 13:27:52 Commons Daemon procrun stdout initialized
有人知道我的代码中有什么问题吗?也许是防火墙或其他东西?注意:我在 c3p0 中使用我的连接提前谢谢