| Author |
Problem starting Tomcat
|
jayram joshi
Greenhorn
Joined: Aug 05, 2000
Posts: 23
|
|
hello frens... I am facing a problem starting tomcat I am running a windows 98 machine my jdk is in c:\java and tomcat at c:\tomcat and heres my autoexe PATH =%PATH%;C:\JAVA\BIN;C:\TOMCAT\BIN; Set CLASSPATH =c:\java\lib; set JAVA_HOME=c:\java set TOMCAT_HOME=c:\tomcat now whenever i try to run tomcat ..it exits without showing any error message.I am unable to find out the problem in my installation your helpe is appreciated Cheers Jayram
|
 |
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
|
|
You need to do a little more than this: remove the semi-colon ; from the end of your classpath line set CLASSPATH=%CLASSPATH%;c:\java\lib\tools.jar Also, your JDK should be 1.2 or later. Regds. - satya
|
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12267
|
|
Open a MSDOS prompt window, change to the tomcat/bin directory and then execute startup.bat, that way you can see error messages. On win 98 you must increase the default space for Environment settings in MSDOS environment - use the properties dialog you get from right-clicking in the upper left corner of a MSDOS prompt window, memory tab, Initial environment setting. I use 3072. The reason being that Tomcat sets a LOT of environment variables and needs the space. Bill
|
Java Resources at www.wbrogden.com
|
 |
jayram joshi
Greenhorn
Joined: Aug 05, 2000
Posts: 23
|
|
i am doing whatever been suggested I removed the semicolon I am using JDK1.3 and my initial environment is 4096..and still tomcat is not starting.Here is the dump which i get C:\tomcat\bin>rem Start the Tomcat Server C:\tomcat\bin>echo Using classpath: c:\tomcat\classes;c:\tomcat\lib\webserver.ja r;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\xml.jar;c:\tomcat\lib\servlet.jar;c:\ja va\lib\tools.jar Using classpath: c:\tomcat\classes;c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jas per.jar;c:\tomcat\lib\xml.jar;c:\tomcat\lib\servlet.jar;c:\java\lib\tools.jar C:\tomcat\bin>start java -Dtomcat.home="c:\tomcat" org.apache.tomcat.startup.To mcat C:\tomcat\bin>goto cleanup C:\tomcat\bin>rem clean up so now please help me in starting tomcat ------------------
|
 |
 |
|
|
subject: Problem starting Tomcat
|
|
|