[jboss-dev-forums] [Design of JBoss IIOP on JBoss] - Re: CORBA_BAD_INV_ORDER running AS 5 IIOP tests with JDK 6

Jeff Zhang do-not-reply at jboss.com
Wed Apr 23 21:30:55 EDT 2008


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#4146382

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146382



More information about the jboss-dev-forums mailing list