java.lang.RuntimeException: Orb initialization erorr

Java.net JIRA | charles904 | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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 | 6 years ago | charles904
    java.lang.RuntimeException: Orb initialization erorr
  2. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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

    1 unregistered visitors

    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
      ORBLazyServiceInitializer.initializeService
      1. org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:120)
      2. org.glassfish.enterprise.iiop.api.ORBLazyServiceInitializer.initializeService(ORBLazyServiceInitializer.java:87)
      2 frames
    4. Kernel Classes
      ServiceInitializerHandler.onAcceptInterest
      1. com.sun.enterprise.v3.services.impl.ServiceInitializerHandler.onAcceptInterest(ServiceInitializerHandler.java:107)
      1 frame
    5. Grizzly WS
      SelectorHandlerRunner.run
      1. com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:301)
      2. com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:263)
      3. com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:200)
      4. com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:619)
      3 frames