[jboss-user] [Installation, Configuration & Deployment] - JBoss configuration to use the same classloader for ear file

jbossuser1000 do-not-reply at jboss.com
Tue Nov 7 20:11:02 EST 2006


Hello,

I have a java class "A" written and deployed as a testA.war file and the class "B" is deployed in an testB.ear file. Class "A" extends class "B". Everything compiles fine. But when deployed in jBoss, a factory class in testB.ear file tries to load class "A"  using Class.forName(). But somehow, class A couldn't be loaded.

Is there a configuration in jBoss that  can be used to have both TestA.war file and testB.ear file use the same classloader? OR what is the best solution for this?

The testB.ear is something that I can not modify and I need to write a subclass by extending a class inside the ear file.

Thanks much.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983966#3983966

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983966



More information about the jboss-user mailing list