This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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
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
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
Joined: Aug 05, 2000
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