Hi all,

i hope I'm in the correct forum here.

My problem is:
I've developed an <> named Resolver. This will be implemented by different Classes 
(e.g. DefaultPhoneResolver). To apply the correct Resolver the user can specify it's 
name in a .properties file. The ResolverLoader gets the name and tries to load the 
class.

Every case i tried (Class.forName(); getClass().getClassLoader().load();) there are 
always java.lang.ClassNotFoundException thrown.

The problem seems to grow from my deployment structure. The <> Resolver and the <> 
ResolverLoader are deployed in 1.ear . The <> DefaultPhoneResolver is deployed in 
2.ear . Thus the ClassLoader assigned to 1.ear can't load the class from 2.ear.

Am i correct with this? Which Classloader do i have to use to get this to work?
Do i have to specify any configuration details?

Thx for your replies.
Per

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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to