This sounds like the classloader is not properly switched to deployment's classloader.
e.g. some missing Thread::currentThread::getContextClassLoader set/check
If you can chase that down ...
Reply to this message by going to Community
Start a new discussion in JBoss Microcontainer at Community