java.lang.RuntimeException: EJB Container initialization error

Oracle Community | daniil_k | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    glassfish vANY + ibm-jdk-ANY + PowerPC + Linux

    Oracle Community | 6 years ago | daniil_k
    java.lang.RuntimeException: EJB Container initialization error
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    AIX 6.1 glassfish 3.1.1. build 04. THe deployment of many ejb samples failed. Please see bellow the error messages that were created in server.log during the deployment of stateless-simple.ear to the server instance. The same archive was deployed succesfully using the same build on OEL machine. So this is a specific AIX issue. ================================================================================== [#|2011-05-11T07:27:06.541-0700|SEVERE|glassfish3.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=7;_ThreadName=Thread-8;|Exception while invoking class org.glassfish.ejb.startup.EjbDeployer load method java.lang.RuntimeException: EJB Container initialization error at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:242) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101) at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:257) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:380) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:455) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:736) Caused by: java.lang.RuntimeException: IIOP Protocol Manager initialization failed. Possible cause is that ORB is not available in this container at com.sun.ejb.containers.BaseContainer.initializeProtocolManager(BaseContainer.java:821) at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:566) at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:155) at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:149) at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:105) at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:230) ... 32 more Caused by: java.lang.NoClassDefFoundError: sun.security.x509.X509CertImpl at java.lang.J9VMInternals.verifyImpl(Native Method) at java.lang.J9VMInternals.verify(J9VMInternals.java:72) at java.lang.J9VMInternals.initialize(J9VMInternals.java:134) at com.sun.enterprise.iiop.security.SecurityIIOPInterceptorFactory.getServerInterceptorInstance(SecurityIIOPInterceptorFactory.java:154) at com.sun.enterprise.iiop.security.SecurityIIOPInterceptorFactory.createServerRequestInterceptor(SecurityIIOPInterceptorFactory.java:109) at org.glassfish.enterprise.iiop.impl.GlassFishORBInitializer.post_init(GlassFishORBInitializer.java:134) at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.postInitORBInitializers(PIHandlerImpl.java:915) at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.initialize(PIHandlerImpl.java:265) at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:643) at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:704) at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:691) at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:107) at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:581) 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) at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getProtocolManager(GlassFishORBHelper.java:187) at com.sun.ejb.containers.BaseContainer.initializeProtocolManager(BaseContainer.java:818) ... 37 more Caused by: java.lang.ClassNotFoundException: sun.security.x509.X509CertImpl at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77) at java.net.URLClassLoader.findClass(URLClassLoader.java:383) at java.lang.ClassLoader.loadClass(ClassLoader.java:643) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:697) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1390) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:722) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) ... 55 more |#] [#|2011-05-11T07:27:06.559-0700|SEVERE|glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=7;_ThreadName=Thread-8;|Exception while loading the app|#] [#|2011-05-11T07:27:06.684-0700|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=7;_ThreadName=Thread-8;|Exception while loading the app : EJB Container initialization error java.lang.RuntimeException: IIOP Protocol Manager initialization failed. Possible cause is that ORB is not available in this container at com.sun.ejb.containers.BaseContainer.initializeProtocolManager(BaseContainer.java:821) at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:566) at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:155) at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:149) at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:105) at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:230) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101) at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:257) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:380) at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064) at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:455) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59) at com.sun.grizzly.ContextTask.run(ContextTask.java:71) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513) at java.lang.Thread.run(Thread.java:736) Caused by: java.lang.NoClassDefFoundError: sun.security.x509.X509CertImpl at java.lang.J9VMInternals.verifyImpl(Native Method) at java.lang.J9VMInternals.verify(J9VMInternals.java:72) at java.lang.J9VMInternals.initialize(J9VMInternals.java:134) at com.sun.enterprise.iiop.security.SecurityIIOPInterceptorFactory.getServerInterceptorInstance(SecurityIIOPInterceptorFactory.java:154) at com.sun.enterprise.iiop.security.SecurityIIOPInterceptorFactory.createServerRequestInterceptor(SecurityIIOPInterceptorFactory.java:109) at org.glassfish.enterprise.iiop.impl.GlassFishORBInitializer.post_init(GlassFishORBInitializer.java:134) at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.postInitORBInitializers(PIHandlerImpl.java:915) at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.initialize(PIHandlerImpl.java:265) at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:643) at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:704) at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:691) at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:107) at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:581) 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) at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getProtocolManager(GlassFishORBHelper.java:187) at com.sun.ejb.containers.BaseContainer.initializeProtocolManager(BaseContainer.java:818) ... 37 more Caused by: java.lang.ClassNotFoundException: sun.security.x509.X509CertImpl at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:77) at java.net.URLClassLoader.findClass(URLClassLoader.java:383) at java.lang.ClassLoader.loadClass(ClassLoader.java:643) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:697) at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99) at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1390) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:722) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768) at java.lang.ClassLoader.loadClass(ClassLoader.java:609) ... 55 more |#]

    Java.net JIRA | 6 years ago | easarina
    java.lang.RuntimeException: IIOP Protocol Manager initialization failed. Possible cause is that ORB is not available in this container
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.ClassNotFoundException

    sun.security.x509.X509CertImpl

    at java.lang.ClassNotFoundException.<init>()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:76)
    2. java.net.URLClassLoader.findClass(URLClassLoader.java:396)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:653)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:619)
    4 frames
  3. Apache Felix Framework
    ModuleImpl$ModuleClassLoader.loadClass
    1. org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:697)
    2. org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)
    3. org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1390)
    4. org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:722)
    5. org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
    6. org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
    6 frames
  4. Java RT
    J9VMInternals.initialize
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:619)
    2. java.lang.J9VMInternals.verifyImpl(Native Method)
    3. java.lang.J9VMInternals.verify(J9VMInternals.java:72)
    4. java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
    4 frames
  5. com.sun.enterprise
    SecurityIIOPInterceptorFactory.createServerRequestInterceptor
    1. com.sun.enterprise.iiop.security.SecurityIIOPInterceptorFactory.getServerInterceptorInstance(SecurityIIOPInterceptorFactory.java:154)
    2. com.sun.enterprise.iiop.security.SecurityIIOPInterceptorFactory.createServerRequestInterceptor(SecurityIIOPInterceptorFactory.java:109)
    2 frames
  6. GlassFish ORB interface layer implementation
    GlassFishORBInitializer.post_init
    1. org.glassfish.enterprise.iiop.impl.GlassFishORBInitializer.post_init(GlassFishORBInitializer.java:134)
    1 frame
  7. glassfish-corba-orb
    ORBFactory.initialize
    1. com.sun.corba.ee.impl.interceptors.PIHandlerImpl.postInitORBInitializers(PIHandlerImpl.java:915)
    2. com.sun.corba.ee.impl.interceptors.PIHandlerImpl.initialize(PIHandlerImpl.java:265)
    3. com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:643)
    4. com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:704)
    5. com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:691)
    6. com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:107)
    6 frames
  8. GlassFish ORB interface layer implementation
    GlassFishORBFactoryImpl.createORB
    1. org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:581)
    2. org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:263)
    3. org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:93)
    3 frames
  9. 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
  10. 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:230)
    7. org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:290)
    8. org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:101)
    8 frames
  11. 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:257)
    2 frames
  12. Kernel Classes
    ApplicationLoaderService.postConstruct
    1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
    2. com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:375)
    3. com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:219)
    3 frames
  13. Inversion of Control / Autodependency mechanism
    AbstractInhabitantImpl.get
    1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
    2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
    3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
    4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
    5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
    6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
    6 frames
  14. Kernel Classes
    AppServerStartup.start
    1. com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:253)
    2. com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)
    3. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)
    3 frames
  15. Appserver Core
    GlassFishMain$Launcher.launch
    1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
    2. com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
    2 frames
  16. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:611)
    4 frames
  17. Appserver Core
    ASMain.main
    1. com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
    2. com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
    2 frames