... did you give them two different classloaders? Otherwise the unified 
classloader repository is used, therefor you have access to classes in other 
war's and ejb's.

If you want to isolate the war use a jboss-web.xml descriptor such as:

<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
        <class-loading java2ClassLoadingCompliance="true">
                <loader-repository>
                        org.jboss:loader=someUniqueName
                        <loader-repository-config>
                                java2ParentDelegation=true
                        </loader-repository-config>
                </loader-repository>
        </class-loading>
</jboss-web>

Greets Rene

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902239


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to