Two Laptop Bag*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat & NT" Watch "Tomcat & NT" New topic
Author

Tomcat & NT

Shiny
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 'command.com' 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?
thanks
--Shiny
Shiny
Ranch Hand

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

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.
Bill
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Shiny:
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
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Shiny
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.......
Satya:
Yes, I followed your disco.. with rahul...till both of you slept off
regards
--Shiny
 
wood burning stoves
 
subject: Tomcat & NT