I'm running web applications in 'all' configuration, and trying to give each of 
them their own classloader by configuring the jboss-web.xml as follows:

<jboss-web>
  <class-loading>
    <loader-repository>
      siras.com:loader=loader1
      <loader-respository-config>
        java2ParentDelegation=false
      </loader-respository-config>
    </loader-repository>
  </class-loading>
</jboss-web>

Right after put these in, I got a bunch of errors.  They all seem to be jar 
conflicts.  I have many apache 's commons-* jar in my /WEB-INF/lib, though.  I 
wasn't changing anything in jboss/lib or jboss/server/all/lib.  They all now 
confuse me very much.  Maybe somebody here can explain to me what classpath my 
app will go through and in what order with the jboss-web.xml configuration 
above.  And, what is difference if I set java2ParentDelegation to true.

1. WEB-INF/lib/*
2. ....
3. .....

Thank you very much.

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to