I add the throwable.printStaceTrace in the JacORB source code ORB.shutdown():
public void shutdown( boolean wait_for_completion )
{
if(logger.isInfoEnabled())
{
logger.info("prepare ORB for shutdown...");
Throwable ex = new Throwable("shutdown");
ex.printStackTrace();
}
Then I get the log information:
[junit] java.lang.Throwable: shutdown
[junit] at org.jacorb.orb.ORB.shutdown(ORB.java:1772)
[junit] at org.jacorb.orb.ORB.destroy(ORB.java:1870)
[junit] at
com.sun.jndi.cosnaming.OrbReuseTracker.decRefCount(OrbReuseTracker.java:49)
[junit] at com.sun.jndi.cosnaming.CNCtx.close(CNCtx.java:1133)
[junit] at com.sun.jndi.cosnaming.CNCtx.finalize(CNCtx.java:1138)
[junit] at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
[junit] at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
[junit] at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
[junit] at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
There is an OrbReuseTracker to decrease the reference count from JVM Finalizer.
In JDK5, there isn't OrbReuseTracker class in JVM rt.jar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146382#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...