aspose file tools*
The moose likes Servlets and the fly likes Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat" Watch "Tomcat" New topic
Author

Tomcat

Ricardo Polero
Ranch Hand

Joined: May 18, 2001
Posts: 128
Hi everybody,
I think my problem is probably simple and am sure the experts can help.
The Basics:
JAVA_HOME=C:\jdk1.2.2
TOMCAT_HOME=C:\tomcat
PATH=C:\jdk1.2.2\bin%PATH%
CLASSPATH=%CLASSPATH%;C:\WINNT\system32;C:\WINNT\System32\Wbem;C:\WINNT\Java\Classes\RxAssistant.zip;C:\tomcat\lib\servlet.jar;C:\tomcat\lib\jasper.jar;C:\tomcat\lib\ant.jar;C:\tom cat\lib\webserver.jar;C:\tomcat\lib\xml.jar;C:\jdk1.2.2\lib\tools.jar;
I am attempting to use Tomcat stand alone ver. 3.1.1 on Win 2000 Pro
I believe I have all the environment variables covered. No changes were made to startup,shutdown,tomcat .bat files.
The error I receive when I attempt to start Tomcat is:
The system cannot find batch label specified - startServer
When I use jdk1.3 with the proper changes made to the environment variables i still receive the same message.
Hope someone can help!
Thanks

Another:
I want more links with JSP resources, somebody would give me a good links ?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

PATH=C:\jdk1.2.2\bin%PATH%
should probably be:
PATH=C:\jdk1.2.2\bin;%PATH%

CLASSPATH=%CLASSPATH%;C:\WINNT\system32;C:\WINNT\System32\Wbem;C:\WINNT\Java\Classes\RxAssistant.zip;C:\tomcat\lib\servlet.jar;C:\tomcat\lib\jasper.jar;C:\tomcat\lib\ant.jar;C:\tom
cat\lib\webserver.jar;C:\tomcat\lib\xml.jar;C:\jdk1.2.2\lib\tools.jar;

remove the semi-colon at the end.
For starting Tomcat you can use either:
tomcat start or startup
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
SoonAnn Lim
Ranch Hand

Joined: Jun 21, 2001
Posts: 155
You need to include the current path too,i.e. "."
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat