This content has been marked as final.
Show 3 replies
-
1. Re: classloaders, commons-logging, jmx, jboss and threads
stevecoh1 May 1, 2003 8:55 AM (in response to stevecoh1)I tell ya, in two weeks of messing with JBoss I've learned more java than I have in the last two years. I managed to solve the problem above by saving at startup time the ClassLoader with which the application was invoked
and setting it into any new feed Thread created by the application whenever one is created. Solves the problem very nicely. Prior to this I never knew the methods
Thread.getContextClassLoader() and
Thread.setContextClassLoader() existed or what they were for.
Does anyone see any problems with this approach? -
2. Re: classloaders, commons-logging, jmx, jboss and threads
adrian.brock May 1, 2003 9:47 AM (in response to stevecoh1)Sounds a bit complicated.
I hope you documented what you are doing
in the source:-)
Regards,
Adrian -
3. Re: classloaders, commons-logging, jmx, jboss and threads
stevecoh1 May 1, 2003 10:43 AM (in response to stevecoh1)I think it's much less complicated than it sounds :-)
Nonetheless, I'm open to any suggestions of simpler methods.