-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthias,

Christopher Schultz wrote:
| From the bug you mentioned in your original post, it looks like
| putting it into your webapp just isn't going to work. Instead, you'll
| have to install it into a ClassLoader that is higher-up in the chain.
| According to the bug comments, your implementation must be in the
| system classpath (that is, not loaded through any of the ClassLoaders
| that Tomcat creates).

Hmm... I just re-read this comment in the bug:

| The given workaround will not work in a servlet container such as
| tomcat which already sets the URLStreamHandlerFactory on
| java.net.URL. This handler can only be registered once in the VM
| (which is pretty silly btw.).

If this is true, then you're going to have to hack the Tomcat source to
get this to work. Maybe Tomcat's stream handler can be written to re-use
the system protocol handler if it doesn't find a handler it likes for
your URL.

Also, this /was/ 2002-03, so perhaps things in Tomcat have changed since
then. Try the system classpath (or endorsed directory) and we'll see
what happens.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfC058ACgkQ9CaO5/Lv0PD1dACeIwDCIIAcKeOyjNcbQZEk4W8S
3BsAn1H/BSlsevOAmZTP8Yq+StdjS9+U
=jAcY
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to