I've read quite a bit about JBoss and ClassLoading (UCL) issues.  As I am 
having one of these issue - but no luck resolving it, I'm looking for help.

In general I can't find good info on the jboss-app.xml file and it's 
configuration.  On the net there are many different examples that have various 
syntax.

All my JBoss 3.2.3 manual has is an example (page 72) and very little explation:

  | <jboss-app>
  |    <loader-repository>some.dot.com:loader=webtest.ear</loader-repository>
  | </jboss-app>
  | 
The name must be unique but is "not important".

I've created this config file in my EAR but it has not had any effect on the 
app - it still appears to find the "wrong" class for my app.  I've redeployed 
and re-started JBoss - but no effect.

I'm using this:

  | 
<loader-respository>com.gmaci.svcs.reportnetJB3:loader=ReportNetGatewayEAR.ear</loader-respository>

I've also see examples that use this:
<loader-respository-config>java2ParentDelegation=false</loader-respository-config>

What does this turn off - how does that effect the class loading for my EAR?  
Why don't I find a reference to this in the manuals?


My code is calling an Axis class org.apache.axis.client.Stub but getting a 
NoSuchMethodError when doing so.
I've found that the method that I'm calling and failing on is loaded twice by 
Jboss:

  | ### Instance0 found in UCL: [EMAIL PROTECTED] 
url=file:/E:/apps/local/devl/software_common/jboss-3.2.3/server/cluster/deploy/jboss-net.sar/
 ,addedOrder=5}
  | 
  | 
  | ### Instance1 found in UCL: [EMAIL PROTECTED] 
url=file:/E:/apps/local/devl/software_common/jboss-3.2.3/server/cluster/tmp/deploy/tmp19997ReportNetGatewayEAR.ear
 ,addedOrder=48}
  | 

What do I have to do to get JBoss to isolate my EAR's jars from the container's 
jars?

Thanks 


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to