• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem starting Tomcat

 
jayram joshi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
jayram joshi
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic