Meaningless Drivel is fun!
The moose likes Servlets and the fly likes tomcat startup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat startup" Watch "tomcat startup" New topic

tomcat startup


Joined: Aug 21, 2001
Posts: 1
I have installed tomcat as it is described. I have added Tomcat_home=c:\tomcat, JAVA_Home=c:\jdk1.3 and classpath=.;c:\tomcat\lib\servlet.jar;c:\tomcat\lib\jasper.jar;c:\java in my NT environment variables.
I cd to c:\tomcat\bin on my dos windows and then type tomcat start.
I Have an error:Unable to locate servlet.jar,check the value of tomcat_home. I don't understand the error.
What can I do?
can somebody help me,please? I don't know what's wrong. Plese help!
Thanks, Nicole.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
first open wexplorer and check if you�r tomcat is really in a folder called tomcat than(this is not a requirement but i think it�s better for you) change the variable name to be all uppercase ex:
set TOMCAT_HOME=c:\tomcat
than use the variable to reference the servlet.jar directory:
set classpath=.;%TOMCAT_HOME%\lib\servlet.jar;

do the same with the JAVA_HOME:
set JAVA_HOME=c:\jdk1.3
and don�t forget to point to tools.jar in your classpath variable:
set classpath=.;%JAVA_HOME%\lib\tools.jar;%classpath%
hope it helps.

I agree. Here's the link:
subject: tomcat startup
It's not a secret anymore!