java.rmi.NoSuchObjectException
1. :Below is some output from our error log on 2 separate application failures. Each "adapter" application executes thru a common "AdapterClient".
2. The application execute on NT servers. I'm told by the WebSphere Administrators and server folks that the problem is that the RMI connection gets "dropped" for some reason.
3. Standard Troubleshooting fix that works 100% of the time:
a. The WebSphere Admin will redeploys the EAR file.
b. We just re-execute the applications, and the they run without incident.
c. Other: For a time, the server was getting recycled every day. When this was going on, the error never occurred.
4. If anyone has suggestions on any server or other confuguration settings we can try to preserve the RMI connection or otherwise remedy this problem, I'd sure appreicate it.
===> Sample Error log output
2006-03-20 00:30:18,954 [DEBUG] - AdapterClient (run:179) - Getting adapter com.uuic.ets.scoreboardputadapters.gap.GAPAdapterImpl from factory
2006-03-20 00:30:18,985 [ ERROR ] - AdapterClient (run:238) - Problem executing adapter
java.rmi.NoSuchObjectException : no such object in table
at sun.rmi.transport.StreamRemoteCall. exceptionReceivedFromServer (StreamRemoteCall.java:264)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:240)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:149)
at com.uuic.ets.scoreboardputadapters.rmiserver.FactoryImpl_Stub.getAdapter (FactoryImpl_Stub.java:35)
at com.uuic.ets.scoreboardputadapters.rmiclient.AdapterClient.run(AdapterClient.java:180)
at com.uuic.ets.scoreboardputadapters.rmiclient.AdapterClient.main(AdapterClient.java:59)
2006-03-20 00:30:19,094 [DEBUG] - AdapterClient (main:60) - leaving main()
2006-03-20 00:30:28,704 [DEBUG] - AdapterClient (main:57) - entering main()
2006-03-20 00:30:28,719 [DEBUG] - AdapterClient (<init>:67) - entering AdapterClient constructor
2006-03-20 00:30:28,829 [DEBUG] - AdapterClient (<init>:81) - leaving AdapterClient constructor
2006-03-20 00:30:28,829 [DEBUG] - AdapterClient (run:85) - entering run()
2006-03-20 00:30:28,829 [INFO] - AdapterClient (run:120) - Begin processing for GapTxAdapter adapter
2006-03-20 00:30:28,829 [DEBUG] - AdapterClient (convertStringToDate:247) - entering convertStringToDate()
2006-03-20 00:30:28,876 [DEBUG] - AdapterClient (convertStringToDate:257) - Using date format: yyyy-MM-dd hh:mm:ss a
2006-03-20 00:30:28,876 [DEBUG] - AdapterClient (convertStringToDate:275) - leaving convertStringToDate()
2006-03-20 00:30:28,876 [INFO] - AdapterClient (run:146) - From date is: Sun Mar 19 03:19:05 CST 2006
2006-03-20 00:30:28,876 [INFO] - AdapterClient (run:156) - To date is: Mon Mar 20 00:30:28 CST 2006
2006-03-20 00:30:28,876 [DEBUG] - AdapterClient (run:167) - Looking up iiop://localhost:2809 from RMI Registry.
2006-03-20 00:30:29,797 [DEBUG] - AdapterClient (run:179) - Getting adapter com.uuic.ets.scoreboardputadapters.gaptx.GapTxAdapterImpl from factory
2006-03-20 00:30:29,813 [ ERROR ] - AdapterClient (run:238) - Problem executing adapter
java.rmi.NoSuchObjectException : no such object in table
at sun.rmi.transport.StreamRemoteCall. exceptionReceivedFromServer (StreamRemoteCall.java:264)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:240)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:149)
at com.uuic.ets.scoreboardputadapters.rmiserver.FactoryImpl_Stub.getAdapter (FactoryImpl_Stub.java:35)
at com.uuic.ets.scoreboardputadapters.rmiclient.AdapterClient.run(AdapterClient.java:180)
at com.uuic.ets.scoreboardputadapters.rmiclient.AdapterClient.main(AdapterClient.java:59)