1 Reply Latest reply on Jul 9, 2009 1:37 PM by Ondrej Medek

    Classpath issues with ear and war

    laurent choblet Newbie

      Hi everyone
      i've got some trouble packaging and deploying my application
      At first i'm on jboss 4.2.0
      my application is packaged as that :

      appli.ear
      lib/
      external/
      ejb.jar
      appli.war
      web-inf/
      lib/


      i isolated my application using classloader in jboss-app.xml.

      i'd like to put all my dependencies under appli.ear/lib/external
      but when i did it (i changed the classpath in all MANIFEST.mf) i got a classcastException with jaxb
      the funny things is when i put all my libs under appli.ear/appli.war/web-inf/lib/ it worked

      does anyone has an idea on the problem?