tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto Garoffolo" <>
Subject URL.setURLStreamHandlerFactory(...) in WebappLoader and StandardLoader
Date Sun, 09 Dec 2001 13:34:29 GMT

I' ve modified with success my tomcat 4.01 to allow webapps to register
their protocol handler in this way:

in and in before setting the factory i
check if the property
"java.protocol.handler.pkgs" contains the package
"org.apache.naming.resources", in this case it' s not
necessary to set the Factory because the URL class will use, for the jndi
protocol, the class named:
"org.apache.naming.resources" + ".jndi" + ".Handler"; if the proprty isn't
set i register the Factory.

Then, i' ve modified setting CATALINA_OPTS with value:

I hope this can help.

Alberto Garoffolo.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message