Custom ORB implementation resource adapter with jacorb exclusion fails to deploy with ClassNotFound: org.jacorb.orb.ORBSingleton in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • Our applications are using a different implementation of ORB as jacorb, we have a resource adapter containing our ORB implementation and have specified exclusions in our jboss-deployment-structure.xml for org.jacorb, however the resource adapter is still failing to deploy because it is trying to load jacorb classes. Could you please write me how to replace jacorb in EAP 6 with a different one? The exception we are seeing is below:
java.lang.ClassNotFoundException: org.jacorb.orb.ORBSingleton from [Module "deployment.custom-corba-resourceadapter.rar:main" from Service Module Loader]
    at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
    at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
    at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at org.omg.CORBA.ORB.create(Unknown Source)
    at org.omg.CORBA.ORB.init(Unknown Source)
        ...
...
Caused by: org.omg.CORBA.INITIALIZE: Could not instantiate ORB implementation: org.jacorb.orb.ORBSingleton
    at org.omg.CORBA.ORB.create(Unknown Source) [rt.jar:1.7.0]
    at org.omg.CORBA.ORB.init(Unknown Source) [rt.jar:1.7.0]
        ...

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.x

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.