I have a web app that uses commons-collections-3.0.jar. I deploy the webapp into jboss, Jboss does it's job and deploys the webapp. The problem arises when I use a part of the app that is depenant on the commons-collections-3.0.jar. I get a method not found exception. This is due to a conflicting commons-collections.jar taking precedence over my commons-collections-3.0.jar in my web app.
In a stand alone version of tomcat-5 it all works fine. Using jboss4.0.1sp1 causes this problem.
Is there a config file somewhere that I can change to prevent this problem?