Found the solution for Tomcat Start up Issue.

At last, I cracked it!

Here is the sto­ry:

Some­time back when I deploy my web appli­ca­tion( named: myApp) in Tom­cat 5.5.23 installed on JDK 1.5 Update 14, I used to stuck with the fol­low­ing issue and I was not able to access my appli­ca­tion.

Tom­cat log will show some­thing like below:

INFO: validateJarFile(C:\Program Files\Apache Soft­ware Foundation\Tomcat 5.5\webapps\myApp\WEB-INF\lib\servlet-api.jar) — jar not loaded. See Servlet Spec 2.3, sec­tion 9.7.2. Offend­ing class: javax/servlet/Servlet.class

28/05/2006 21:03:39 org.apache.catalina.loader.WebappClassLoader val­i­date­JarFile

INFO: val­i­date­JarFile(C:\Program Files\Apache Soft­ware Foundation\Tomcat 5.5\webapps\myApp\WEB-INF\lib\servlet.jar) — jar not loaded. See Servlet Spec 2.3, sec­tion 9.7.2. Offend­ing class: javax/servlet/Servlet.class

SEVERE: Error lis­ten­er­Start
Dec 5, 2007 10:24:10 AM org.apache.catalina.core.StandardContext start
SEVERE: Con­text [/myApp] start­up failed due to pre­vi­ous errors.

Today I found the solu­tion for this issue.

Just delete the servlet.jar and servlet-api.jar files from C:\Program Files\Apache Soft­ware Foundation\Tomcat 5.5\webapps\myApp\WEB-INF\lib.

These files, any­ways will be in C:\Program Files\Apache Soft­ware Foundation\Tomcat 5.5\common\lib fold­er of Tom­cat.

I found this solu­tion by lit­tle bit of Googling. Ear­li­er also I Googled for this like any­thing but could not find any solution.I also post­ed it in pop­u­lar forums at,, etc. but to my dis­ap­point­ment.

I also test­ed this solu­tion in three of my team’s systems.It worked for two sys­tems and it did­n’t work for one sys­tem. But I am sure the above is the cause and fix of this issue.The rea­son for not work­ing in one sys­tem is some­thing else which I have to inves­ti­gate fur­ther.

This issue con­sumed lot of my time/energy/hope and frus­trat­ed and depressed me a lot.I did­n’t get help from any­one. Now I am glad that I found the solu­tion all by myself.


Leave a Reply

%d bloggers like this: