hi!
 > Hello Tech --.
 > I am working on a bug in one of my RMI Severs, and this exception was 
 > happened once a month.
 > any clues that I can dealing with NoSuchObjecException ?
 > I am using Jrun2.3.3 and jdk1.1.8 on AIX box..

this is never a definite solution, but waht about
turning on -Dsun.rmi.dgc.logLevel=VERBOSE to get log output
like this:

Fri Sep 21 19:54:23 EDT 2001:dgc:main:WeakRef.pin: strongRef = 
sun.rmi.registry.RegistryImpl[RemoteStub [ref: 
[endpoint:[65.161.202.175:1099](local),objID:[0:0:0, 0]]]]
Fri Sep 21 19:54:23 EDT 2001:dgc:main:ObjectTable.putTarget: add object [0:0:0, 0]
Fri Sep 21 19:54:33 EDT 2001:dgc:Thread-2:ObjectTable.putTarget: add object [0]
Fri Sep 21 19:54:33 EDT 2001:dgc:Thread-2:ObjectTable.putTarget: add object [1]
Fri Sep 21 19:54:33 EDT 2001:dgc:Thread-2:ObjectTable.putTarget: add object [2]
..
Fri Sep 21 19:57:57 EDT 2001:dgc:Thread-140:ObjetTable.removeTarget: remove object 
[111]
Fri Sep 21 19:57:57 EDT 2001:dgc:Thread-140:ObjetTable.removeTarget: remove object 
[112]

or then modifying such source codes like
sun/rmi/transport/ObjectTable.java
sun/rmi/transport/ObjectTable.java
sun/rmi/transport/LiveRef.java
(as always, put it back into the VM by -Xbootclasspath/p:...)
to make it more verbose, so that more specific info can be collected?

;; implementing java.rmi.server.Unreferenced may also help...

regards,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to