I have two turbine appliactions deployed in JBoss default profile. Actually turbine jar is packaged seperately in 2 ears but still static variables in turbine servlet are getting shared between 2 applications.
I have added jboss-app.xml in meta-inf of both ear files e.g.
After adding above, applications are not getting deployed. It throws exception like,
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
I am not getting why this is not working?
Can anybody gives solution?
If I add above jboss-app.xml for test applications having only servlet(common to both) then it works fine (static var is not getting shared). But it doesn't work for my turbine application where there are too many jars ejbs etc.
Please give suggestions if anybody has.
Thanks in advance.
Please do not post the same question in multiple forums. There's atleast 4 forums where i see this question.