Hi,

If you go in via Tomcat's Manager app, do you see more webapps than you expect?

A long time ago I made the mistake of deploying apps under the webapps directory as well as configuring them with their own context - this resulted in those particular applications being loaded twice.

Also, make sure you clean out Tomcat's work directory - just to be sure that your config changes are taking effect.

--
Stephen Souness


Ani wrote:


On Thu, Jan 29, 2009 at 11:40, Ani <jadhao.anirud...@gmail.com> wrote:

Hello,
I have a web application in which I am facing one wiered pbm. I see tomcat
loading servlet twice , on which my application logic is failing and quits.
Getting below error in log file.
My findings : One thing I did was , inside comp folder I made a copy of
website folder and renamed it to website_old. Now both folders contains
servlet.jar. Will it be causing a pbm???
==========================================================
Jan 29, 2009 10:48:34 AM org.apache.catalina.loader.WebappClassLoader
validateJarFile
INFO: validateJarFile(.\comp\website_old\WEB-INF\lib\servlet.jar) - jar no

t loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
==========================================================


I have
Server.xml has an entry of below

<Context docBase="C:\Program Files\Avaya/comp/website" path="/website"
reloadable="false" crossContext="true" />

So tomcat should look for website folder in the specified directory, but
in the C:\Program Files\Avaya/comp directory, there are two directories ,
website and website_old.
Why tomcat is searching for C:\Program Files\Avaya/comp/website_old
application if it gets the C:\Program Files\Avaya/comp/website . ??
I have tomcat6.

Any reason??
--Ani





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

Reply via email to