tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Need my Protocol to be Seen in Tomcat!!
Date Fri, 16 Nov 2007 22:07:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike,

Version numbers?

Mike Wannamaker wrote:
> So now we put classes into commons/lib/...

Er... common/lib  ?

> and we add a global resource to server.xml that starts our services.

[snip]

> have debugged into the URL code and it can't find my class because
> tomcat must put a classloader between the jvm classloader and my
> classes loaded in tomcat. Because URL is loaded in the parent
> classloader it can't find classes in the child classloader.

Have you tried putting your protocol handler into shared/lib instead of
common/lib? common/lib is for webapps to share. shared/lib is for both
webapps /and/ Tomcat to share.

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

iD8DBQFHPhSJ9CaO5/Lv0PARAukKAJ0VwO78eMLIC4Bk575R0BGvp5zXkACdFMNO
1jPpRrcsvxSaEIWmH5b6MM8=
=gRma
-----END PGP SIGNATURE-----

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


Mime
View raw message