This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Running Sevlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Running Sevlet" Watch "Running Sevlet" New topic

Running Sevlet

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I installed Tomcat & am trying to check the settings. I am unable to get the homepage of Tomcat when i try to fire http:\\localhost:8080. I am using the Netscape Browser.
The classpath seems OK as i am able to compile servlets but am unable to run them.
Any help is highly appreciated.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
The Startup.bat and Tomcat.bat files used to start Tomcat have @echo off at the start. Comment this line out and you may be able to see errors being reported.
The usual problem everybody has with WIndows 98 is insufficient Environment space. The startup routines do a lot of fooling around to set environment variables that are quite lengthy.
Modify your MSDOS console settings to use more environment space.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I commented the echo off lines in the Startup & Tomcat batch files. When i run the startup i get a new DOS screen which closes after some time & i get back the original DOS screen with C:\ prompt.
I am not getting the Out of Env Space message.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Thanks William !
I could finally sort it out. I was a combination of problems associated with classpath/jar files/etc.

Joined: Jul 03, 2000
Posts: 27
I seem to be having the same problem. Could you tell me what you did to get rid of it ?

wood burning stoves
subject: Running Sevlet
Similar Threads
unable to connect to tomact6.0 server from a different computer on the network
Tomcat Error
Help me please
DIGEST auth-method
Location of * files in tomcat-7