aspose file tools
The moose likes Servlets and the fly likes Problem with Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 12268
    
    1
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

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem with Tomcat
 
Similar Threads
HF Servlets book : tomcat 5 and tomcat 6 doubt
Having trouble doing the first example in SCWCD
tomcat/ejb
Add tomcat 4
Eclipse galileo tomcat too slow to start each time