java.lang.RuntimeException: IIOP Protocol Manager initialization failed. Possible cause is that ORB is not available in this container

Oracle Community | brzhk | 6 years ago
  1. 0

    IllegalStateException: Invalid iiop-listener orb-listener-1. Lazy-init not supported for SSL iiop-listeners

    Oracle Community | 6 years ago | brzhk
    java.lang.RuntimeException: IIOP Protocol Manager initialization failed. Possible cause is that ORB is not available in this container
  2. 0

    Error in deploying ear to GlassFish

    Stack Overflow | 3 years ago | user2223820
    java.lang.RuntimeException: IIOP Protocol Manager initialization failed. Possible cause is that ORB is not available in this container
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Running: asadmin --port 6248 set server-config.iiop-service.iiop-listener.orb-listener-1.address=localhost Changed this snippet in my domain.xml: <iiop-listener port="6237" id="orb-listener-1" address="0.0.0.0" lazy-init="true"></iiop-listener> To this: <iiop-listener port="6237" id="orb-listener-1" address="localhost" lazy-init="true"> <ssl classname="com.sun.enterprise.security.ssl.GlassfishSSLImpl" cert-nickname=""></ssl> </iiop-listener> 0) This domain was created with port base = 6200, but different port bases don't seem to make a difference. 1) There was no intention / action to make this a secure listener, and it doesn't add the security-enabled="true" attribute anyway. 2) The same command worked fine with 3.0. 3) This happens whether its localhost or a real host name (which we need to use to perform a workaround of our server being behind a NAT gateway as viewed by some clients). The end result is that the default IIOP listener doesn't start up, and the output below is printed to the server log. You'll see the "Lazy-init not supported for SSL iiop-listeners" message, which is the apparent result of the unintended side effect of adding the <ssl> child element. [#|2011-06-02T14:30:23.468-0400|WARNING|glassfish3.1|javax.enterprise.system.org.glassfish.enterprise.iiop.api|_ThreadID=30;_ThreadName=Thread-1;|ORB initialization failed in lazy init java.lang.RuntimeException: Orb initialization erorr at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:148) at org.glassfish.enterprise.iiop.api.ORBLazyServiceInitializer.initializeService(ORBLazyServiceInitializer.java:87) at com.sun.enterprise.v3.services.impl.ServiceInitializerHandler.onAcceptInterest(ServiceInitializerHandler.java:107) at com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:301) at com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:263) at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:200) at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Invalid iiop-listener orb-listener-1. Lazy-init not supported for SSL iiop-listeners at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:622) at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:263) at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:93) at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:120) ... 9 more Caused by: java.lang.IllegalStateException: Invalid iiop-listener orb-listener-1. Lazy-init not supported for SSL iiop-listeners at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.validateIiopListeners(GlassFishORBManager.java:758) at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:504) ... 12 more |#]

    Java.net JIRA | 5 years ago | charles904
    java.lang.RuntimeException: Orb initialization erorr
  5. 0

    problems with faces (myfaces and mojarr 2.1.7) and grails 2.03 incompatibility - need some assistanc (JSF forum at JavaRanch)

    coderanch.com | 11 months ago
    java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions! If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml. A typical config looks like this; <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener>

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Invalid iiop-listener orb-listener-1. Lazy-init not supported for SSL iiop-listeners

      at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.validateIiopListeners()
    2. GlassFish ORB interface layer implementation
      GlassFishORBFactoryImpl.createORB
      1. org.glassfish.enterprise.iiop.impl.GlassFishORBManager.validateIiopListeners(GlassFishORBManager.java:758)
      2. org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:504)
      3. org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:263)
      4. org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:93)
      4 frames
    3. GlassFish ORB connector implementation
      GlassFishORBHelper.getProtocolManager
      1. org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:120)
      2. org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getProtocolManager(GlassFishORBHelper.java:187)
      2 frames
    4. Embedded GlassFish Web
      EjbDeployer.load
      1. com.sun.ejb.containers.BaseContainer.initializeProtocolManager(BaseContainer.java:818)
      2. com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:566)
      3. com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:155)
      4. com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:149)
      5. com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:105)
      6. org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:234)
      7. org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290)
      8. org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101)
      8 frames
    5. Private APIs of Glassfish
      ApplicationInfo.load
      1. org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
      2. org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:249)
      2 frames
    6. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      2 frames
    7. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
      1 frame
    8. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
      6 frames
    9. org.glassfish.admingui
      LocalDeploymentFacility$LocalDFCommandRunner.run
      1. org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:143)
      1 frame
    10. GF Deployment
      AbstractDeploymentFacility.deploy
      1. org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:406)
      1 frame
    11. org.glassfish.admingui
      DeploymentHandler.deploy
      1. org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:100)
      2. org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:76)
      3. org.glassfish.admingui.common.handlers.DeploymentHandler.deploy(DeploymentHandler.java:191)
      3 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    13. com.sun.jsftemplating
      CommandActionListener.processAction
      1. com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
      2. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
      3. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
      4. com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:150)
      5. com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:98)
      5 frames
    14. JavaEE 7
      UICommand.broadcast
      1. javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
      2. javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)
      3. javax.faces.component.UICommand.broadcast(UICommand.java:300)
      3 frames
    15. com.sun.webui
      WebuiCommand.broadcast
      1. com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:166)
      1 frame
    16. JavaEE 7
      UIViewRoot.processApplication
      1. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
      2. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
      2 frames
    17. JSF
      LifecycleImpl.execute
      1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      3 frames
    18. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
      1 frame
    19. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
      3 frames
    20. com.sun.webui
      UploadFilter.doFilter
      1. com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:223)
      1 frame
    21. Glassfish Core
      StandardPipeline.doChainInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      6. org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
      6 frames
    22. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
      2 frames
    23. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
      3 frames
    24. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:228)
      1 frame
    25. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    26. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame