0 Replies Latest reply on Feb 14, 2012 5:59 AM by Andy Smithson

    java.lang.ClassNotFoundException: org.omg.CORBA.TRANSIENT

    Andy Smithson Newbie

      Hi all, Im developing web services to expose an IBM application api as web services (using Metro).

      I'd normally use tomcat, but found out the API has some EJB and websphere runtime dependencies, so I'm trying to deploy 'as is' to Jboss 7.0.2 Final

       

      I think I have pulled in the right websphere runtime libraries without clashing with jboss jars,

       

      However, when I try to deploy I get the following error:

       

      java.lang.ClassNotFoundException: org.omg.CORBA.TRANSIENT

       

      I'm totally new to Jboss, and I would assume this class would be in the standard jboss class path (either in rt.jar or jacorb-2.3.1jboss.patch01-brew.jar) ?

       

      The jacorb file is present. I'm running 'standalone.bat'. Everything is untouched/OOTB appart from JAVA_HOME and listening ports. Is there more CORBA configuration to do?

       

       

      10:17:40,108 SEVERE [com.sun.xml.ws.server.http] (MSC service thread 1-4) WSSERVLET11: failed to parse runtime descriptor: java.lang.NoClassDefFoundError: org/omg/CORBA/TRANSIENT: java.lang.NoClassDefFoundError: org/omg/CORBA/TRANSIENT

              at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(WsnInitialContextFactory.java:106) [naming.jar:]

              at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) [:1.6.0_25]

              at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) [:1.6.0_25]

              at javax.naming.InitialContext.init(InitialContext.java:223) [:1.6.0_25]

              at javax.naming.InitialContext.<init>(InitialContext.java:175) [:1.6.0_25]

              at com.sun.xml.ws.tx.common.TransactionManagerImpl.jndiLookup(TransactionManagerImpl.java:73) [webservices-rt.jar:]

              at com.sun.xml.ws.tx.common.TransactionManagerImpl.<init>(TransactionManagerImpl.java:88) [webservices-rt.jar:]

              at com.sun.xml.ws.tx.common.TransactionManagerImpl.<clinit>(TransactionManagerImpl.java:64) [webservices-rt.jar:]

              at com.sun.xml.ws.tx.common.Util.isJTAAvailable(Util.java:71) [webservices-rt.jar:]

              at com.sun.xml.ws.tx.runtime.TxTubeFactory.isTransactionsEnabled(TxTubeFactory.java:61) [webservices-rt.jar:]

              at com.sun.xml.ws.tx.runtime.TxTubeFactory.createTube(TxTubeFactory.java:45) [webservices-rt.jar:]

              at com.sun.xml.ws.assembler.TubeCreator.createTube(TubeCreator.java:82) [webservices-rt.jar:]

              at com.sun.xml.ws.assembler.TubelineAssemblerFactoryImpl$MetroTubelineAssembler.createServer(TubelineAssemblerFactoryImpl.java:166) [webservices-rt.jar:]

              at com.sun.xml.ws.server.WSEndpointImpl.<init>(WSEndpointImpl.java:157) [webservices-rt.jar:]

              at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:232) [webservices-rt.jar:]

              at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505) [webservices-rt.jar:]

              at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253) [webservices-rt.jar:]

              at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147) [webservices-rt.jar:]

              at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:124) [webservices-rt.jar:]

              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.1.Final.jar:7.0.2.Final]

              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]

      Caused by: java.lang.ClassNotFoundException: org.omg.CORBA.TRANSIENT from [Module "deployment.myapp.war:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)