0 Replies Latest reply on Apr 12, 2013 4:04 AM by Johannes Peter

    Using corba in SAR and getting ClassNotFound: org.jacorb.orb.ORB

    Johannes Peter Newbie

      Hi Folks,

       

      I'm trying to get a Corba enabled application running in JBoss AS 7.1.1 Final. Im my application, I do a

       

      GlobalData.orb = ORB.init(args, null);
      

       

      and get a

       

      09:56:54,087 ERROR [stderr] (MSC service thread 1-8) java.lang.ClassNotFoundException: org.jacorb.orb.ORB from [Module "deployment.module.nested:main" from Service Module Loader]
      09:56:54,090 ERROR [stderr] (MSC service thread 1-8)    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
      09:56:54,092 ERROR [stderr] (MSC service thread 1-8)    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
      09:56:54,095 ERROR [stderr] (MSC service thread 1-8)    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
      09:56:54,098 ERROR [stderr] (MSC service thread 1-8)    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
      09:56:54,101 ERROR [stderr] (MSC service thread 1-8)    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
      09:56:54,104 ERROR [stderr] (MSC service thread 1-8)    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
      09:56:54,106 ERROR [stderr] (MSC service thread 1-8)    at java.lang.Class.forName0(Native Method)
      09:56:54,108 ERROR [stderr] (MSC service thread 1-8)    at java.lang.Class.forName(Class.java:247)
      09:56:54,109 ERROR [stderr] (MSC service thread 1-8)    at org.omg.CORBA.ORB.create(ORB.java:97)
      09:56:54,111 ERROR [stderr] (MSC service thread 1-8)    at org.omg.CORBA.ORB.init(ORB.java:60)
      

       

      I think it's the wrong way to add a jacorb.jar manually (via jboss-deployment-structure.xml for example) because JBoss AS includes Jacorb?

       

      Can anybody bring some light into the dark?

       

      Regards, Peter