Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

EJB Client fails to recover, if you restart WAS5.1 server

已查看 11 次
跳至第一个未读帖子

sas...@hotmail.com

未读,
2005年4月30日 21:08:432005/4/30
收件人
Hi,
I'm using WAS5.1 server. We have a EJB client running on SUN JDK1.4. It works in normal situation.
The problem is that when the app server is restarted, the EJBclient continue to say the following exception. It does NOT recover. But it DOES recover, if the client is running on another remote was5.1 app server. We neither can have the server nor the ibm jdk1.4 on the client env that we are running.

java.rmi.RemoteException: CORBA TRANSIENT 1229127170 No; nested exception is:
org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused: connect:host=ss72invd06,port=50634 vmcid: 0x4942f000 minor code: 3586 completed: No
at com.sun.corba.se.internal.iiop.ShutdownUtilDelegate.mapSystemException(ShutdownUtilDelegate.java:137)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at com.visa.apps.vim.briefcase.server.ejb._BriefcaseServiceOperationsImplHome_Stub.create(Unknown Source)
at com.visa.apps.vim.briefcase.client.dao.EJBBriefcaseServiceOperations.<init>(Unknown Source)
at com.visa.apps.vim.briefcase.BriefcaseFactory$RemoteBriefcaseFactory.getServiceOperations(Unknown Source)
at test.EJBClient.addFileLoop(EJBClient.java:158)
at test.EJBClient.main(EJBClient.java:105)
Caused by: org.omg.CORBA.TRANSIENT: java.net.ConnectException: Connection refused: connect:host=ss72invd06,port=50634 vmcid: 0x4942f000 minor code: 3586 completed: No
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:439)
at com.ibm.rmi.transport.TCPTransport.getConnection(TCPTransport.java:179)
at com.ibm.rmi.iiop.TransportManager.get(TransportManager.java:79)
at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:133)
at com.ibm.rmi.iiop.GIOPImpl.createRequest(GIOPImpl.java:98)
at com.ibm.rmi.corba.ClientDelegate._createRequest(ClientDelegate.java:1937)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1233)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1253)
at com.ibm.rmi.corba.ClientDelegate.createRequest(ClientDelegate.java:1166)
at com.ibm.CORBA.iiop.ClientDelegate.createRequest(ClientDelegate.java:1219)
at com.ibm.rmi.corba.ClientDelegate.request(ClientDelegate.java:1833)
at com.ibm.CORBA.iiop.ClientDelegate.request(ClientDelegate.java:1175)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
... 5 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:184)
at com.ibm.rmi.transport.TCPTransportConnection.createSocket(TCPTransportConnection.java:151)
at com.ibm.CORBA.transport.TransportConnectionBase.connect(TransportConnectionBase.java:392)

I copied all the 5.1 jars (lib/*jar & java/jre/lib/ext/*.jar) to the client env and added to classpath.
I have been trying to troubleshoot with NOT caching any home object, handles and even set JNDI cache to 'none'. But nothing worked. Please help me to reolve.

Thanks in advance.

0 个新帖子