Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4394799

POA enabled Ties shouldn't fail shutdown if no POA is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • other-libs
    • None
    • merlin
    • generic
    • generic

      There is a situation where POA Ties fail with OBJ_ADAPTER exception during ORB.shutdown() when no POA is used as in standard RMI-IIOP programming.

      We see the following exception when we call orb.shutdown(false);

      org.omg.CORBA.OBJ_ADAPTER: NoContext: outside of an invocation context.
      minor code: 0 completed: No
              at com.sun.corba.ee.internal.POA.DelegateImpl.poa(DelegateImpl.java:73)
              at org.omg.PortableServer.Servant._poa(Servant.java:102)
              at hello._HelloHomeImpl_Tie.deactivate(Unknown Source)
              at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.cleanUpTie(Util.java:329)
              at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.unexportObject(Util.java:300)
              at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.unregisterTargetsForORB(Util.java:321)
              at com.sun.corba.ee.internal.iiop.JavaxRmiCorbaUtil.unregisterTargetsForORB(JavaxRmiCorbaUtil.java:25)
              at com.sun.corba.ee.internal.iiop.ORB.shutdown(ORB.java:331)
              at com.sun.corba.ee.internal.POA.POAORB.shutdown(POAORB.java:565)
              at com.sun.enterprise.server.EJBServer.shutdown(EJBServer.java:523)

            busersunw Btplusnull User (Inactive)
            sbauersunw Stefan Bauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: