org.omg.CORBA.INITIALIZE

can't instantiate default ORB implementation com.sun.corba.ee.impl.orb.ORBSingleton

Samebug tips8

tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

tip

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13581

  • via by David Delabassee,
  • via by Unknown author,
  • Stack trace

    • org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.sun.corba.ee.impl.orb.ORBSingleton at org.omg.CORBA.ORB.create_impl_with_systemclassloader(ORB.java:309)[na:1.8.0_05] at org.omg.CORBA.ORB.init(ORB.java:294)[na:1.8.0_05] at com.sun.enterprise.transaction.jts.iiop.TxIORInterceptor.addOTSComponents(TxIORInterceptor.java:119)[na:na] at com.sun.enterprise.transaction.jts.iiop.TxIORInterceptor.establish_components(TxIORInterceptor.java:102)[na:na] at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.objectAdapterCreated(InterceptorInvoker.java:148)[glassfish-corba-orb.jar:na] at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.objectAdapterCreated(PIHandlerImpl.java:321)[glassfish-corba-orb.jar:na] at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:114)[glassfish-corba-orb.jar:na] at com.sun.corba.ee.impl.oa.poa.POAImpl.initialize(POAImpl.java:531)[glassfish-corba-orb.jar:na] at com.sun.corba.ee.impl.oa.poa.POAImpl.create_POA(POAImpl.java:931)[glassfish-corba-orb.jar:na] at com.sun.corba.ee.impl.folb.InitialGroupInfoService.bindName(InitialGroupInfoService.java:194)[glassfish-corba-orb.jar:na] at com.sun.corba.ee.impl.folb.InitialGroupInfoService.<init>(InitialGroupInfoService.java:177)[glassfish-corba-orb.jar:na] at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:615)[orb-iiop.jar:na] at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:264)[orb-iiop.jar:na] at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:93)[orb-iiop.jar:na] at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:163)[orb-connector.jar:na] at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getProtocolManager(GlassFishORBHelper.java:231)[orb-connector.jar:na] at com.sun.ejb.containers.BaseContainer.initializeProtocolManager(BaseContainer.java:898)[ejb-container.jar:na] at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:657)[ejb-container.jar:na] at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:143)[ejb-container.jar:na] at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:137)[ejb-container.jar:na] at com.sun.ejb.containers.StatelessContainerFactory.createContainer(StatelessContainerFactory.java:61)[ejb-container.jar:na] at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:221)[ejb-container.jar:na] at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:291)[ejb-container.jar:na] at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:99)[ejb-container.jar:na] at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:206)[internal-api.jar:na] at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:313)[internal-api.jar:na] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)[kernel.jar:na] at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)[kernel.jar:na] at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)[deployment-admin.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)[kernel.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)[kernel.jar:na] at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_05] at javax.security.auth.Subject.doAs(Subject.java:360)[na:1.8.0_05] at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)[kernel.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)[kernel.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)[kernel.jar:na] at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_05] at javax.security.auth.Subject.doAs(Subject.java:360)[na:1.8.0_05] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)[kernel.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)[kernel.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)[kernel.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)[kernel.jar:na] at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)[kernel.jar:na] at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:404)[rest-service.jar:na] at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234)[rest-service.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_05] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_05] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_05] at java.lang.reflect.Method.invoke(Method.java:483)[na:1.8.0_05] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)[jersey-server.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)[jersey-server.jar:na] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)[jersey-server.jar:na] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)[jersey-server.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)[jersey-server.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)[jersey-server.jar:na] at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)[jersey-server.jar:na] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)[jersey-server.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common.jar:na] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)[jersey-common.jar:na] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)[jersey-server.jar:na] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)[jersey-server.jar:na] at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)[jersey-container-grizzly2-http.jar:na] at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:173)[rest-service.jar:na] at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)[rest-service.jar:na] at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)[kernel.jar:na] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)[kernel.jar:na] at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)[nucleus-grizzly-all.jar:na] at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)[nucleus-grizzly-all.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_05] Caused by: java.lang.ClassNotFoundException: com.sun.corba.ee.impl.orb.ORBSingleton at java.net.URLClassLoader$1.run(URLClassLoader.java:372)[na:1.8.0_05] at java.net.URLClassLoader$1.run(URLClassLoader.java:361)[na:1.8.0_05] at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_05] at java.net.URLClassLoader.findClass(URLClassLoader.java:360)[na:1.8.0_05] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_05] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)[na:1.8.0_05] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_05] at java.lang.Class.forName0(Native Method)[na:1.8.0_05] at java.lang.Class.forName(Class.java:340)[na:1.8.0_05] at org.omg.CORBA.ORB.create_impl_with_systemclassloader(ORB.java:306)[na:1.8.0_05] ... 87 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    CasperCasper
    4 times, last one,
    HandemelindoHandemelindo
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    1188 more bugmates