For example: 
1) I've started JBoss
2) I've recompiled and rebuild a Jar (let's call it A.jar): I've seen JBoss 
re-deploing A.jar, correctly.
3) I've start my application: I get this error:

09:41:07,437 ERROR [LogInterceptor] Unexpected Error:
java.lang.IllegalAccessError: tried to access class A from B

(I use A and B, instead of the real names, just to simplify my explanation)

Notice that both A and B are inside A.jar

Now if I restart JBoss, everything works.
Mind that A.jar is a library, I mean contains some classes which a used and inherited 
from classes that are in other jars, and those last classes are EJB.

Is now more clear the situation?
Regards
Alessandro

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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to