I already have an application in Tomcat in production. But I want to deploy it in JBoss. Instead of going the route of creating the Service Archive, I created an Enterprise Archive and bundled the entire application with the application.xml and also the jboss-web.xml along with the regular web.xml. I also provided the jboss-service.xml in the META-INF directory with the Java2ClassLoadingCompliance attribute set to false based on search on the documentation so that I can use the jaxen jars in my application. It still does not work. So I wanted to find out if anyone can give me any suggestions.