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?
EAR takes lib from lib/, if you want to use lib/external/ then you have to specify it in META-INF/application.xml, not in META-INF/MANIFEST.MF.