2 Replies Latest reply on Jul 31, 2012 7:31 AM by Sergiu Pienar

    WAR dependecies to jar in EAR

    Sergiu Pienar Expert



      Using JBoss 7.1.1 Final.


      I have a structure similar to the following :











      The deployment works fine but when I try to call a web-service located in myEjbs.jar I can't because of class-path problems :


      Fault - ; nested exception is:

      java.lang.ClassNotFoundException: com.RuleExecutorRemote from [Module "deployment.axis.war:main" from Service Module Loader


      The EAR has a jboss-deployment-structure.xml as follows :





                          <module name="deployment.all-dev.ear" export="true"/>

                          <module name="deployment.all-dev.ear.myEjbs.jar" export="true" />





      How could I make the myEjbs.jar visible to the axis.war component ?


      Thank you .