0 Replies Latest reply on Feb 13, 2005 5:45 PM by nivek

    Isolated EAR JBoss 4.0.1 using Axis

    nivek Newbie

      I am trying to isolate an EAR containing proprietary API's along
      with Axix, DOM, JAXRPC, and SAAJ.

      Environment: JBoss 4.0.1 J2SE 1.5.0.1 UseJBossWebLoader is set to FALSE
      and jboss-ws4ee.sar has been removed.

      Deployment:

      - my.ear
      META-INF\jboss-app.xml
      ejb.jar
      axis.jar
      dom4j.jar
      jaxrpc.jar
      saaj.jar

      application.xml: java modules added for each jar

      jboss-app.xml :
      <loader-repository>com:loader=my.ear</loader-repository>

      EJB manifest:
      Class-Path: axis.jar dom4j.jar etc..


      Error: Error unmarshaling return; nested exception is:
      java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = -5673018430892733549, local class serialVersionUID = 4418622981026545151

      I am aware that there is obviously different class version's been ran here, but I cannot see why it
      is happening unless the EAR is not truely isolated. The client that is calling the EJB is using the
      same libraries loaded in the EAR.

      Any help would be greatly appreciated..