I ran in to the following problem:
I got two .war files with some servlets inside.
Both war files include a file called Core.jar in their WEB-INF/lib subdir. But, the version of the Core.jar file is different between the two war's.
When i test the servlets they both seem to use the same version of the Core.jar file!
Is this normal behaviour? It seems to me that war files should be self-containing. So if i deploy two webapps which, internally, use a particular version of a library, the two web apps should not interfere, right?
I hope someone could help out here. Or did i bump into a JBoss bug maybe?
i think thats bcos of the jboss unified classloader.
You can override the default by defining a custom loader repository in the jboss-application.xml file
details are available in the faq forum i think