Hi,

I have a SAR with an simple MBean. When I deploy the SAR alone, classes will 
load the way I expect from reading about classloading in the JBoss 4 
Application Server Guide. I can look up packages and classes in the repository 
in JMImplementation.LoaderRepository in JMX console. Classes are also 
accessable from other deployed applications.

Then I try to add the SAR to an EAR where I also have an EJB3 JAR and deploy 
the whole thing. Now no packages of classes from the EJB3 JAR or SAR can be 
found in the repository. I thought that I would not have isolated class loading 
here.

So I play around with the EJB3 TrailBlazer just to see how this archive works 
when deployed. Right out of the box, the trailblazer classes does not turn up 
in the repository. I remove the <load-repository> tag from jboss-app.xml to see 
if this would make any difference, but it does not.

So how do get the classes to be loaded the "not isolated" way? I thought this 
was the default way.

What am I missing? I guess I have not fully understood the classloading 
mechanism after all...

I'm running JBoss AS 4.0.4 RC1.

/Martin Söderström

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to