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

Chuck,

On 5/20/2011 10:51 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
>> Subject: Re: ClassNotFoundException WSServlet with Tomcat 7.0.11 on Windows 
>> Server 2008 R2 using METRO 2.1
> 
>> are you sure that you need to put your libraries into Tomcat's
>> lib directories, etc. instead of just putting them all in your
>> webapp's WEB-INF/lib directory?
> 
> From a cursory examination of the Metro doc, it looks like they 
> tried to be lazy and recommended dumping all their classes into a
> shared directory, rather than do it properly. Pretty sloppy, I
> think.
> 
> The webapp's WEB-INF/lib directory would certainly be much more
> appropriate, unless there's something going on under the covers that
> requires some level of sharing across webapps.

I find that's the default position of a lot or projects that either
don't care to understand the complexities of class loaders or have been
burned by so many different environments that themselves don't care to
understand and/or sanely implement proper class loading.

When in doubt, just dump everything into /usr/lib/java/lib. That'll show
'em.

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

iEYEARECAAYFAk3WiRMACgkQ9CaO5/Lv0PA9YgCfd7RXTyWqg6Hciaj/AL3mbDrm
sqQAn31xkYqqmkxLLegJuevn/r0lJpC7
=mpir
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to