Good day,
I've been working on migration from jboss as4 to jboss as5 and hit the as5 specific
classloading problem with my ejb's where the third party jars referenced by ejbs are
not loaded because they are also found in the server's top level lib directory and the
server is loading those (example trove.jar) rather than ones that are part of the
application. The problems is the versions of jars we use are different from the ones that
come with the server, which breaks the app. I tried older style java2parentDelegation in
jboss-app.xml which did not work at all in as5. After a lot of digging it appears I should
be using jboss-classloading.xml but I could not find a place where the schema is
explained. Just to reiterate it is ejb jar I have problems with not a war application for
which there are some examples around (not sure if they work). So I've got two
questions that I think a lot of people trying to use jboss as5 would like to see
answered:
1. Is it jboss-classloading.xml that I should be using in as 5 to isolate my ear/ejb app
from the same jar that come with the server?
2. Where can we find some documentation explaining how to define jboss-classloading.xml
i.e. what are the meanings of tags?
Thanks and I apologise if I posted this in a wrong spot.
SDJ
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247369#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...