Friday, September 14, 2012

jBoss AS 7 class loading resolution

Having issue with reading JAR files from deploed WAR files in jBoss AS 7?

Maybe this might help !!!

Step 1 : Deploy your WAR file into 

Step 2 :  Place your jar files inside the path in "module" folder. Also please create module.xml, this is important to bind the JARs . Remember you need to put it in "main" folder.

Step 3 : Add your module.xml something like this.

Step 4 : In your application(inside WAR), add jboss-deployment-structure.xml to tell jBoss where to look for the libs

1 comment:

  1. Great tutorial. Simple and eficinent.

    Thank you!