I have just found out that Spring uses the following code to retrieve the classloader:
Thread.currentThread().getContextClassLoader()
and the classloader returned by this piece of code is a UCL
(/D:/applications/jboss-4.0.5.GA/server/default/conf/) tied to the universalrepository3
and not the HeirarchicalLoaderRepository3 of my ear.
Of course, since Jboss created the threads i guess that it's normal that the
classloader associated to the thread can not be a classloader that will use the
HeirarchicalLoaderRepository3.
But i still don't have any solution on this problem. Is it possible to configure the
threads created by Jboss to make them return the classloader of the ear ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071578#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...