This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes URL stream handler and context class loader Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "URL stream handler and context class loader" Watch "URL stream handler and context class loader" New topic
Author

URL stream handler and context class loader

lucian chirita
Greenhorn

Joined: Feb 10, 2006
Posts: 1
Hello all

I'm wondering whether anyone has stumbled upos this case: I implemented an URL stream handler which gets registered by setting the system property. This URL handler would be used in an application having a class loader hierarchy (Tomcat in my case). As my class is not part of the system class loader, it will not be found by .

Is there any way to use a URL handler present on the context class loader? I can't use as Tomcat already registers some factory and there can be only one factory registered.

I see that GNU Classpath has considered using the context class loader (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22754 - posted bug) but I couldn't find anything from Sun regarding this.

Thanks,
Lucian
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: URL stream handler and context class loader
 
Similar Threads
tomcat problem
error pages - error!
struts validator
Tomcat question
returning XML using XML-RPC