my dog learned polymorphism*
The moose likes Servlets and the fly likes Problem starting Tomcat. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem starting Tomcat." Watch "Problem starting Tomcat." New topic

Problem starting Tomcat.


Joined: Apr 18, 2001
Posts: 2
I have the foll. settings.
Java on d:\jdk1.2
Tomcat on d:\tomcat
My batch file:-
SET CLASSPATH=d:\tomcat\lib\servlet.jar;d:\oracle\ora81\jdbc\lib\;
SET JAVA_HOME=d:\jdk1.2;
SET TOMCAT_HOME=d:\tomcat;
PATH is set to d:\jdk1.2\bin;
I run my batch file and type tomcat start, I get the message
'Unable to locate servlet.jar,check value of TOMCAT_HOME'.
One copy of servlet.jar is in lib directory.
I have not changed startup.bat and tomcat.bat files.
I have checked all relevant posts. Any help appreciated.
Cundra Mundra

Joined: Apr 16, 2001
Posts: 11
First: you do not need the semicolons at the end of each setting
Second: you run on WinNT, do you execute your batch before you run tomcat? For each DOS window opened you might have to execute the bat file. If you would set these settings within the system then it would be set for any window you open.

Joined: Apr 18, 2001
Posts: 2
It seems to work after I remove the semicolon. Thanks CM.
Don't get me started about those stupid light bulbs.
subject: Problem starting Tomcat.
Similar Threads
Configuring Tomcat
urgent help in running examples from hf jsp servlets
tomcat installation on win98
using ant to achive files
using ant to achive files