geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject TCCL in doStart
Date Sat, 29 Oct 2005 17:11:46 GMT
Team,

I was trying GBean-izing some code that needed a stax parser (Axis2).
The FactoryFinder would not pick up the parser though it was specified
in the dependencies and present in the repository.

DJ mentioned that this is because the TCCL is set to the
configurations' classloader. So i had to forcibly set the context
class loader myself. I see the same hack in other places for example
in doStart method of
servicemix\src\java\org\apache\geronimo\servicemix\ServiceMixDeployment.java

So, Do we fix it? how? Should we fix it?

thanks,
dims

--
Davanum Srinivas : http://wso2.com/blogs/

Mime
View raw message