我在 tomcat 上部署了一个 web 应用程序,它与 weblogic 服务器上的 Agile PLM 交互。
问题:
我必须定期测试连接,所以当我测试连接时它们是成功的,但是当我在 weblogic 上重新启动 Agile Plm 并测试连接时,我得到以下异常。
<Mar 6, 2018 10:14:34 AM PST> <Error> <Socket> <BEA-000429> <Muxer received error: weblogic/rjvm/PeerGoneEvent
java.lang.NoClassDefFoundError: weblogic/rjvm/PeerGoneEvent.
java.lang.NoClassDefFoundError: weblogic/rjvm/PeerGoneEvent
at weblogic.rjvm.RJVMImpl.peerGone(RJVMImpl.java:1605)
at weblogic.rjvm.RJVMImpl.peerGone(RJVMImpl.java:1577)
at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:1210)
at weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:1173)
at weblogic.rjvm.MsgAbbrevJVMConnection.gotExceptionReceiving(MsgAbbrevJVMConnection.java:583)
at weblogic.rjvm.t3.MuxableSocketT3.hasException(MuxableSocketT3.java:592)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:846)
at weblogic.socket.SocketMuxer.deliverHasException(SocketMuxer.java:780)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:409)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)
为什么会发生这种情况的任何建议
params.put(AgileSessionFactory.URL, attrMap.get("url"));
params.put(AgileSessionFactory.USERNAME, attrMap.get("uname"));
params.put(AgileSessionFactory.PASSWORD, attrMap.get("password"));
session = AgileSessionFactory.createSessionEx(params);