• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem starting Tomcat

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

------------------
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic