tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Brown" <>
Subject RE: Classpath Issue
Date Mon, 25 Feb 2002 17:07:12 GMT
If you put everything (ie. all your Servlet's dependencies)) into the
WAR, ClassLoading
problems seem to go away.

Does anyone know if the same holds true for App Servers (specifically


-----Original Message-----
From: []
Sent: Monday, February 25, 2002 5:03 PM
To: Tomcat Users List
Subject: Re: Classpath Issue

Tomcat takes care of this for you so that you don't have to mess around
with classpath issues. Put your  unpacked classes in the WEB-INF/classes
directory of you webapplication. jar files go under the WEB-INF/lib. And
you are good to go.
If you wish to make your classes visible to all applications then place
your unpacked classes under then
And the packed jar files under <tomcat_installation_dir>/common/lib
And if you still wish to add classes to the classpath then check out
catalina.bat (or tomcat.bat). But be warned this may give rise to
with classloading in the future :-)


"Rui Oliveira" <> on 02/25/2002 10:51:46 AM

Please respond to "Tomcat Users List" <>

To:   "Tomcat Users List" <>

Subject:  Classpath Issue


sorry for the newbie question...

Can someone please tell me how to configure the classpath for a specific
application only, instead of defining it for all the tomcat

Thanks in advance
Rui Oliveira

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message