java.lang.ClassNotFoundException when starting CORBA components of JBoss

Solution Verified - Updated -

Issue

  • Encountered the following exception stack trace in the JBoss server logs:
        DEBUG [org.jboss.iiop.CorbaNamingService] (main) Starting jboss:service=CorbaNaming
        FINE  [javax.enterprise.resource.corba._CORBA_.rpc.presentation] (main) "IOP00110227: (BAD_PARAM) ORBDynamicStubFactoryFactoryClass property had value com.sun.corba.se.impl.presentation.rmi.bcel.StubFactoryFactoryBCELImpl, which could not be loaded by the ORB ClassLoader"
        org.omg.CORBA.BAD_PARAM:   vmcid: SUN  minor code: 227  completed: No
            at com.sun.corba.se.impl.logging.ORBUtilSystemException.errorInSettingDynamicStubFactoryFactory(ORBUtilSystemException.java:1851)
            at com.sun.corba.se.impl.logging.ORBUtilSystemException.errorInSettingDynamicStubFactoryFactory(ORBUtilSystemException.java:1870)
            at com.sun.corba.se.spi.orb.ORB$2.run(ORB.java:214)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sun.corba.se.spi.orb.ORB.<clinit>(ORB.java:197)
            at com.sun.corba.se.impl.logging.UtilSystemException.get(UtilSystemException.java:54)
            at com.sun.corba.se.impl.javax.rmi.CORBA.StubDelegateImpl.<clinit>(StubDelegateImpl.java:65)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at java.lang.Class.newInstance0(Class.java:372)
            at java.lang.Class.newInstance(Class.java:325)
            at javax.rmi.CORBA.Stub.createDelegateIfSpecified(Stub.java:225)
            at javax.rmi.CORBA.Stub.<clinit>(Stub.java:67)
            at org.jacorb.orb.Delegate.getReference(Unknown Source)
            at org.jacorb.orb.ORB.getReference(Unknown Source)
            at org.jacorb.poa.POA.getReference(Unknown Source)
            at org.jacorb.poa.POA.create_reference_with_id(Unknown Source)
            at org.jboss.iiop.CorbaNamingService.startService(CorbaNamingService.java:133)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
            ...
        Caused by: java.lang.ClassNotFoundException: com.sun.corba.se.impl.presentation.rmi.bcel.StubFactoryFactoryBCELImpl
            at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:264)
            at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:292)
            at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119)
            at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798)
            at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
            at com.sun.corba.se.impl.orbutil.ORBClassLoader.loadClass(ORBClassLoader.java:38)
            at com.sun.corba.se.spi.orb.ORB$2.run(ORB.java:210)
            ... 80 more

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Running Sun JDK 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In