• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem starting Tomcat.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have the foll. settings.
OS:windowsNT.
Java on d:\jdk1.2
Tomcat on d:\tomcat
My batch file:-
SET CLASSPATH=d:\tomcat\lib\servlet.jar;d:\oracle\ora81\jdbc\lib\classes111.zip;
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.
Thanks,
Ajay.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
PATH=%JAVA_HOME%\bin;%TOMCAT_HOME%
 
AJAY PINNAMANENI
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It seems to work after I remove the semicolon. Thanks CM.
reply
    Bookmark Topic Watch Topic
  • New Topic