0 Replies Latest reply on May 10, 2012 9:27 AM by Prasad Deshpande

    Classloading for org.jacorb system module

    Prasad Deshpande Expert

      Hi Guys,

       

      I was trying to exclude org.jacorb system module in my ear using following jboss-deployment-structure.xml in ear/meta-inf

       

      <jboss-deployment-structure>

          <deployment>

              <exclusions>

                  <module name="org.jacorb" />

                  <module name="org.omg.api" />

              </exclusions>

          </deployment>

        <sub-deployment name="efprocess.jar">

              <exclusions>

                  <module name="org.jacorb" />

                  <module name="org.omg.api" />

              </exclusions>

        </sub-deployment>

      </jboss-deployment-structure>

       

      however, 7.1.1.Final still tries to load classes from system module rather than from jar in my ear/lib & I get following exception:

       

      at org.omg.CORBA.ORB.init(ORB.java:62) [jacorb-2.3.1.jbossorg-1.jar:]

      at com.banctec.caseware.server.archivemanager.pool.EFAConnectionFactory.getOrb(EFAConnectionFactory.java:143) [efprochelper.jar:]

       

      Any idea why?

       

      Thanks,

      Prasad