I have a problem while deploying two different war files:
- war1: using spring 2
- war2: using spring 3
Now I am deploying these wars to same JBoss's default/deploy location, here problem is war2 is taking spring 2 library.
Although both war files are working properly on tomcat togather.
Is there any way I can specify that every war file should use jar file that is inside it but should not use jar's of other war files deployed.
I found solution:
- In jboss-classloading.xml, write domain="MyApp.war"
- Add "jboss-web.xml":