glassfish
  1. glassfish
  2. GLASSFISH-17092

CORBA Warning message on glassfish shutdown

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2, 4.0
    • Fix Version/s: 3.1.2_b16, 4.0
    • Component/s: orb
    • Labels:
      None

      Description

      Server log shows the message "WARNING: IOP02310830: ReferenceFactoryManager destroy failed" when glassfish is shutdown.

      Steps:
      1. asadmin start-domain
      2. deploy EJB app with remote interface
      3. asadmin stop-domain
      4. Check out server.log.

      Note: The message is not printed if the app is undeployed before stopping the domain.

      --------------- server.log --------------------------------
      :
      :
      [#|2011-07-22T14:22:17.254-0700|INFO|glassfish3.1.1|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=19;_Thre adName=Thread-39;|Server shutdown initiated|#]

      [#|2011-07-22T14:22:17.282-0700|WARNING|glassfish3.1.1|javax.enterprise.resource.corba.POA|_ThreadID=19;_ThreadName=Thread-39;|IOP02310830: ReferenceFactoryManager destroy failed
      org.omg.CORBA.OBJ_ADAPTER: WARNING: IOP02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)
      at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)
      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)
      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)
      at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)
      at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)
      at $Proxy138.rfmDestroyFailed(Unknown Source)
      at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:575)
      at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
      at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
      at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4333)
      at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4237)
      at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:307)
      at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:169)
      at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:302)
      at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:322)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:999)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:1971)
      at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:454)
      at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:422)
      at com.sun.hk2.component.AbstractCreatorInhabitantImpl.dispose(AbstractCreatorInhabitantImpl.java:83)
      at com.sun.hk2.component.SingletonInhabitant.release(SingletonInhabitant.java:81)
      at com.sun.hk2.component.EventPublishingInhabitant.release(EventPublishingInhabitant.java:108)
      at com.sun.hk2.component.LazyInhabitant.release(LazyInhabitant.java:133)
      at com.sun.enterprise.v3.server.AppServerStartup.stop(AppServerStartup.java:425)
      at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.stop(GlassFishImpl.java:88)
      at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.stop(GlassFishDecorator.java:68)
      at com.sun.enterprise.v3.admin.StopServer.doExecute(StopServer.java:70)
      at com.sun.enterprise.v3.admin.StopDomainCommand.execute(StopDomainCommand.java:95)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.run(CommandRunnerImpl.java:383)
      Caused by: java.lang.NullPointerException
      at com.sun.corba.ee.impl.oa.poa.POAImpl.getPOAFactory(POAImpl.java:334)
      at com.sun.corba.ee.impl.oa.poa.POAImpl.<init>(POAImpl.java:467)
      at com.sun.corba.ee.impl.oa.poa.POAImpl.find_POA(POAImpl.java:1028)
      at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:557)
      ... 23 more

      #]
      -----------------------------------------------

      This Warn message need not (should not ?) show up in the server log by default. To resolve - the log level need to be changed to FINE (or FINEST).

        Issue Links

          Activity

          Harshad Vilekar created issue -
          scatari made changes -
          Field Original Value New Value
          Tags 3_1-next 3_1_1-scrubbed
          Harshad Vilekar made changes -
          Tags 3_1-next 3_1_1-scrubbed 3_1-next 3_1_1-scrubbed 3_1_2-review
          Harshad Vilekar made changes -
          Link This issue blocks GLASSFISH-17852 [ GLASSFISH-17852 ]
          Joe Di Pol made changes -
          Fix Version/s 3.1.2_b16 [ 15330 ]
          Tags 3_1-next 3_1_1-scrubbed 3_1_2-review 3_1-next 3_1_1-scrubbed 3_1_2-approved
          Harshad Vilekar made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Harshad Vilekar made changes -
          Affects Version/s 4.0 [ 10970 ]
          Affects Version/s 3.1.1_b12 [ 14853 ]
          Harshad Vilekar made changes -
          Fix Version/s 4.0 [ 10970 ]
          Affects Version/s 3.1.2 [ 15100 ]

            People

            • Assignee:
              Harshad Vilekar
              Reporter:
              Harshad Vilekar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: