Hi, I' ve modified with success my tomcat 4.01 to allow webapps to register their protocol handler in this way:
in WebappLoader.java and in StandardLoader.java 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 catalina.sh setting CATALINA_OPTS with value: "-Djava.protocol.handler.pkgs=org.apache.naming.resources" I hope this can help. Ciao, Alberto Garoffolo. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>