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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem with Tomcat" Watch "Problem with Tomcat" New topic
Author

Problem with Tomcat

Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
I use NT Server at work, I downloaded Tomcat and followed the instructions on the site. It worked fine on my home machine, but at work, Tomcat window pops up and disappears after I clik the startup batch file.
Any suggestions?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

- check the classpath. tools.jar should be in class path
- try running it from a DOS prompt.
- you might also want to check out the memory setting on
the DOS prompt window.
regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Everything is set up right, I tried adjust the memory, how do I do it in NT Server?
------------------
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

I have no clue abt NT server......
But if everything is set up right
there is nothing I can think of.
regds.
- satya
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
Don't click on startup.bat, execute it in a command window so you can see if any informative error message are generated. You may want to comment out the @echo off line at the start of the BAT file so as to see more information.
Be sure that you have a JAVA_HOME environment variable pointing to the base of your JDK installation and a TOMCAT_HOME environment variable pointing to the tomcat base. Startup BAT tried to guess TOMCAT_HOME but you might as well set it.
JAVA_HOME=D:\JDK1.2
TOMCAT_HOME=C:\tomcat
Bill
 
Don't get me started about those stupid light bulbs.
 
subject: Problem with Tomcat
 
Similar Threads
HF Servlets book : tomcat 5 and tomcat 6 doubt
Add tomcat 4
tomcat/ejb
Having trouble doing the first example in SCWCD
Eclipse galileo tomcat too slow to start each time