3 Replies Latest reply on Jul 29, 2014 8:54 AM by ctomc

    Which libraries can be safely packaged in WEB-INF/lib and which not?


      Hi all !

      we are planning a migration from Tomcat to WildFly: our main concern is that our application bundles lots of libraries into the WEB-INF/lib folder. I've seen in th documentation that in some cases a file jboss-deployment-structure.xml is added to exclude the base server libraries and include those packaged with the applications (e.g. when porting to a different JSF version). In other cases, I've seen that merely packaging the application in the WEB-INF/lib folder overrides the server core modules (e.g. I've tried packaging our Xalan.jar in WEB-INF/lib and it correctly overrides the server core module).

      So, is there a guideline of which modules should be migrated using the jboss-deployment-structure.xml and which ones can be safely left in the WEB-INF/lib folder ?