File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Tomcat & NT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat & NT" Watch "Tomcat & NT" New topic

Tomcat & NT

Ranch Hand

Joined: May 29, 2000
Posts: 45
This is an NT4.0 with SP6.
1. I have Tomcat3.1 'zip' & is extracted in d:\Tomcat directory.
2. PATH, CLASSPATH, J2EE_HOME=e:\j2sdkee1.2, JAVA_HOME=d:\jdk1.3 & TOMCAT_HOME=d:\Tomcat have been properly set.
I use 'tomcat start' or 'tomcat run' in a proper '' console (with 8096 environment space), the response from the system is:
"The name specified is not recognized as an internal or external command, operable program or batch file. Using classpath: ...<entire classpath>....".
How to ascertain if the server is running? Setup is okay? Anything else to be run, started, built?
Ranch Hand

Joined: May 29, 2000
Posts: 45
If I open the browser with http://localhost:8080/ or it says:
"The Page can not be displayed".
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
It sounds like something failed in the start.bat or tomcat.bat files. Comment out the @echo at the start of the files so you can see what is failing. If startup succeeds, you should get a 2nd window where Tomcat is running.
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
let me share my wisdom from yesterday night.....
Last night when I was trying to get my jSDK server to run,
I noticed that a new window is started and immediately
dies. ofcourse I got similar msgs on the browser saying
file not found whats that number ...404 ? whatever...
My trick was to use the Pause button on the keyboard
in the new window and temporarily stop the server run. Doing
this some 20-25 times, I could catch the error...everytime
I started the jsdk server (jsdk2.1\startserver) I was getting
an exception in the new window and so it died....
The fix was that my classpath was missing a jar file....
I put all the jar files in the classpath and it worked fine.
Btw, today night I will be trying the Tomcat, I have already
downloaded it.
BTW, if you use pause key then you could continue using the
CTRL-C combination....
Best of luck...
- the satya (much wiser than yesterday night)
did you see my other post and discussions with Rahul..

Take a Minute, Donate an Hour, Change a Life
Ranch Hand

Joined: May 29, 2000
Posts: 45
Thanks Bill & Satya.
I got it working finally. But I think I need to provide 'xml.jar' for enhancing its functionality.
But I saw some messages between developers contributing to this 'tomcat' project that 'xml.jar' has been nullified & has been packaged as 'ant.jar'. I don't know what's the exact status now... anyway my hunt goes on.......
Yes, I followed your disco.. with rahul...till both of you slept off
I agree. Here's the link:
subject: Tomcat & NT
It's not a secret anymore!