Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat startup

 
nso
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
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
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic