This file is use by maven packaging with "jboss" profile, in order : - to switch the web.xml take in account into WEB-INF instead the default petals-view web.xml. The change is only the comment of "org.springframework.web. util.Log4jConfigListener" listerner, to keep the jboss default logger. The web.xml take in account is located at src/main/jboss/web.xml and is copy/paste into /WEB-INF/web.xml of the specific jboss war. - add jboss-classloading.xml into WEB-INF for JBoss class isolation, in order to load all jar contained in the webapp /lib instead jboss common libraries. The jboss-classloading.xml located at src/main/jboss/jboss-classloading.xml and is copy/paste into /WEB-INF/jboss-classloading.xml of the specific jboss war.