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.setContextClassLoader() existed or what they were for.
Does anyone see any problems with this approach?
Sounds a bit complicated.
I hope you documented what you are doing
in the source:-)
I think it's much less complicated than it sounds :-)
Nonetheless, I'm open to any suggestions of simpler methods.