Hi All,

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.
<jboss-app>
        <loader-repository>
                test:loader=test.ear
                <loader-repository-config>
                        java2ParentDelegation=false
                </loader-repository-config>
        </loader-repository>
</jboss-app>

After adding above, applications are not getting deployed. It throws exception 
like,
java.lang.NoClassDefFoundError: java/lang/Object
        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.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232412#4232412

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232412
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to