I have third party library packaged as a module and deployed on jBoss server so that all web applications deployed on the same server can make use of that third party library. The problem is that some of the classes from my my web application are loaded by third party library at runtime to create instances of those classes. Since web application and modules will use different class loaders I am getting ClassNotFoundException. Is there any way wherein I can expose my web app specific classes so that the dependent module know about them ?
I have raised this question in jBPM module here Can any one please help me.