-
1. Re: Jboss war isolation
jaikiran Jan 11, 2012 10:32 PM (in response to pushpak1981).war classes cannot be accessed from other .war classes in AS7. If there are such shared classes between them, then package those classes in a .jar and place that .jar in the .ear/lib folder.
-
2. Re: Jboss war isolation
pushpak1981 Jan 12, 2012 12:40 AM (in response to jaikiran)Thanks for the reply. We are facing this issue in case of libraries that are present in One war. Those libraries are also required in second war. We have setup jBPM5.2 on Jboss7.1 which contains 4 different wars in deployment folder. We are trying to execute jBPM processes through Arquillian. Now Arquillian deploys its tests as .war which cannot access jars from jBPM war which are present in deployment folder.
One way we found is to package all the jars related to jBPM into Arquillian tests. But there are lot of other jar dependencies. Is there any other war we can achieve this ?
-
3. Re: Jboss war isolation
jaikiran Jan 12, 2012 1:43 AM (in response to pushpak1981)I'll move this to the Arquillian forum
-
4. Re: Jboss war isolation
pushpak1981 Jan 12, 2012 8:31 AM (in response to jaikiran).war classes cannot be accessed from other .war classes in AS7. If there are such shared classes between them, then package those classes in a .jar and place that .jar in the .ear/lib folder.
We are having this problem when there are 2 different wars present in standalone/deployment folder share the same jar files which are present in the war/lib. As i mentioned we can create a modules and put all the common jars in the modules but we need to provide other dependencies as well.
can we use export from our jboss-deployment-structure.xml in one war so that that module will be visible in other war ?