i'll just give a bit more details. i've been learning (or trying to learn) too
much about jboss class loaders and such lately. it always seems to come back
to the jdk including stuff that it probably shouldn't include. (these xml
parsers).
the sun jdk 1.4.2_06 or so includes some old, but usable xalan/xerces classes.
i think this is where our app is getting them from when it runs. the problem
seems to be that we have xerces.jar, xalan.jar and xml-apis.jar in our
web-inf/lib folder. i would like to tell the container to always pull from
these classes first, but it seems to pull from the rt where it can find it,
then from my jars next. actually it seems to pull from the jboss 4.0.0
endorsed dirs first, then the rt, then the war's WEB-INF/lib. no matter what i
put for these attributes:
true
true
if there's a class in the jboss endorsed dir, or one in the rt, it seems to
pick up from there first before from my web-inf/lib folder. changing these
settings seem to only effect loading 3rd party jars from the server/default/lib
folder. is this the expected behavior?
is there a way to get my web app to use the xerces/xalan from it's web-inf/lib
folder before looking at the rt.jar? it even seems that ibm's jdk and sun's
jdk includes quite different versions of the xerces/xalan libs. our web app
uses fop, and seems to require a specific version of xerces/xalan.
~thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882962#3882962
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882962
-------------------------------------------------------
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