[jboss-user] [Beginners Corner] - Classpath issues with ear and war

laucho do-not-reply at jboss.com
Thu Jun 18 10:21:00 EDT 2009


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?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238501#4238501

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238501



More information about the jboss-user mailing list