> From: Mike Wannamaker [mailto:[EMAIL PROTECTED] > Subject: RE: Need my Protocol to be Seen in Tomcat!! > > I believe the issue is that the URL class is loaded > in the bootstrap classloader and my Handler class is > in the commons classloader.
Sounds likely. > So what I'm wondering is if I can hook into that > DirContextURLStreamHandlerFactory class somehow > through configuration to return my handler class? No, that's strictly for JNDI in the current Tomcat implementation. Rather than putting your Handler class in common/lib, have you tried adding its location to Tomcat's startup classpath? This should make it available to the system classloader, so new URL() should be able to find it. Can't think of any way to configure such a protocol handler without implementing it as a <Connector>, which of course would tie you into Tomcat internals fairly deeply. Bill Barker or Filip Hanik might have better ideas. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]