tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e e <dade...@gmail.com>
Subject URLStreamHandlerFactory
Date Tue, 15 Jan 2013 17:50:52 GMT
   - Am trying to understand why WebAppLoader does a
   URL.setURLStreamHandlerFactory().
   - I see that a protocol handler is being set for "jndi://" protocol. Our
   apps' do NOT use JNDI urls. I believe tomcat 6 has NOT used the jndi url
   anywhere in its codebase.
   - What feature in tomcat will get affected if I set my factory before
   tomcat sets it. (Factory can be set only once).
   - What feature will I lose if I set my factory.

*Note*

   - I cannot change the webapp's code to use the overloaded java.net.URL()
   which takes a URLStreamHandler as an argument. (Will require code changes
   across 50 applications)
   - I cannot set the  "*java.protocol.handler.pkgs*" as these classes must
   be present in the system classpath. (Classloader hierarchy of our
   app-server makes it difficult) (We run tomcat as one of the components in
   our server) (Similar to any j2ee server)

Sriram.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message