This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes Problem starting Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem starting Tomcat" Watch "Problem starting Tomcat" New topic

Problem starting Tomcat

jayram joshi

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
Set CLASSPATH =c:\java\lib;
set JAVA_HOME=c:\java
set TOMCAT_HOME=c:\tomcat
now whenever i try to run tomcat exits without showing any error message.I am unable to find out the problem in my installation
your helpe is appreciated
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.
- satya

Take a Minute, Donate an Hour, Change a Life
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13025
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.
jayram joshi

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
Using classpath: c:\tomcat\classes;c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jas
C:\tomcat\bin>start java -Dtomcat.home="c:\tomcat" org.apache.tomcat.startup.To
C:\tomcat\bin>goto cleanup
C:\tomcat\bin>rem clean up

so now please help me in starting tomcat

I agree. Here's the link:
subject: Problem starting Tomcat
It's not a secret anymore!