I appreciate you taking the time to help, but it I do not think you understand 
what I was asking.  I never said isolation is a form of security.  The orginal 
problem is that if ear2 contains ear1's interfaces,  and if ear1 is isolated, 
ear2's call to ejb in ear1 produces an NoClassDefFoundException.  This is an 
obvious exception because ear2 can not load the interface isolated in ear1.  So 
the solution might seem to be, include the interfaces in ear2.  However, this 
produces a ClassCastException.  Obviously that is because ear1 loaded the 
interface with its isolated classloader, and ear2 loaded the interface with its 
isolated classloader which are not the same.  So how does one get around this.  
My answer is to ensure the interfaces are loaded by a shared classloader(i.e. 
deploy the interfaces jar or put in the server's lib dir.)  I just wanted you 
to confirm this.

cgriffith

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to