0 Replies Latest reply on Feb 2, 2015 4:46 PM by Goran L

    JBoss EAP 6.3 Corba ObjectHelper class loading issue

    Goran L Newbie

      Hi,

       

      I have a class loading issue with org.omg.CORBA.ObjectHelper class.

      It happens with JBoss 6.3 EAP which is running on Java 1.7.0_75 64bit.

      I use standalone-full.xml as a configuration file for standalone server mode (jacorb is enabled there).

      When it gets to execute following line of code (on class which is generated by idlj tool):

       

      org.omg.CORBA.Object $result = org.omg.CORBA.ObjectHelper.read ($in);

       

      it throws following exception:

       

      22:32:59,925 ERROR [jacorb.poa.controller] (RequestProcessor-5) rid: 8 opname: r

      egister invocation: throwable was thrown.: java.lang.NoClassDefFoundError: org/o

      mg/CORBA/ObjectHelper

              at RAFC._EqRootStub.queryInterface(_EqRootStub.java:122) [classes:]

                ...

              at RAFC.RegAgentPOA._invoke(RegAgentPOA.java:44) [classes:]

              at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java

      :306) [jacorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

              at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:626) [j

      acorb-2.3.2.redhat-6.jar:2.3.2.redhat-6]

              at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:769) [jacor

      b-2.3.2.redhat-6.jar:2.3.2.redhat-6]

      Caused by: java.lang.ClassNotFoundException: org.omg.CORBA.ObjectHelper from [Mo

      dule "deployment.COL1S2Adapter.war:main" from Service Module Loader]

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

      213) [jboss-modules.jar:1.3.3.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(Con

      currentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(Concu

      rrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentCl

      assLoader.java:389) [jboss-modules.jar:1.3.3.Final-redhat-1]

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoad

      er.java:134) [jboss-modules.jar:1.3.3.Final-redhat-1]

              ... 7 more

       

      What should I do in order to make that org.omg.CORBA.ObjectHelper class "usable" inside JBoss deployment package?