我在 Java 控制台中有以下日志:
2017-Oct-28 17:45:31.733 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
2017-Oct-28 17:45:31.733 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
Reconnecting (try 1 of 60)...
Reconnecting (try 2 of 60)...
Reconnecting (try 3 of 60)...
Reconnecting (try 1 of 5)...
Reconnecting (try 2 of 5)...
Reconnecting (try 3 of 5)...
Reconnecting (try 4 of 5)...
Reconnecting (try 5 of 5)...
如您所见,我已经定义了属性 networkRetries=60 并将该值用于初始重新连接。似乎它能够连接,然后连接显然已断开,并开始尝试重新连接,值为 5。
你能帮我解决这个问题吗?
经过进一步分析...
我能够找到记录在 OC4J_BI_FORMS 的 application.log 文件中的异常:
17/10/31 09:37:48 web: Servlet error
java.lang.NullPointerException
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
有人遇到过同样的问题吗?
PS:仅供参考,软件多年未修改。