This content has been marked as final.
Show 3 replies
-
1. Re: EJB3 access and classloader
bdecoste Apr 25, 2006 4:22 PM (in response to yeyuancn)Unless you specify otherwise via the <loader-repository> element in jboss.xml, all classes in .jar (or .ejb3) files will be loaded into the same root classloader repository. You can use the <loader-repository> element to create child repositories per deployment - classes loaded into child repositories will not be visible outside of the particular deployment.
-
2. Re: EJB3 access and classloader
yeyuancn Apr 25, 2006 4:44 PM (in response to yeyuancn)Is this a recent change (requirement), or is it always like this for Jboss4 +EJB3?
-
3. Re: EJB3 access and classloader
bdecoste May 4, 2006 3:43 PM (in response to yeyuancn)I've done a little research - JBoss 4.x isolates war classes using the Tomcat classloader. To use the JBoss classloader for web deployments, you need to configure Tomcat to use the JBoss classloader. In deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml, set the UseJBossWebLoader attribute to true.