>>StreamHandlerFactory registered (but the URL class only tries to load
>>resource handlers using Class.forName() and the system-classloader so
>>that might not work with custom classloaders).
>
>We need to figure out why Class.forName() called from inside URL did not
>find the class then.
>
>--jason
>

I'm not sure, but I think Class.forName will only load classes that are in 
the same classloader that current class was loaded from.  In your case (the 
system classloader since Class.forName() is called from URL).  So you have 
to ask yourself, is my protocol class in the system classloader?  So I think 
that is the problem.  The URL class should have used the ContextClassLoader 
to load the class.

Regards,
Hiram


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to