i downloaded tomcat 4.0.3 and was trying to configure it following http://www.moreservlets.com/Using-Tomcat-4.html. I did exactly same but when i tried to verify the server is up by tying http://localhost it says page not displayed. Also i tried without editing server.xml file but again i get the same result. Can anybody let me know what to do ?. Iam going nuts. Thanks in advance
Raj<br />Sun Certified Java Programmer
Adam Hardy
Ranch Hand
Joined: Oct 09, 2001
Posts: 564
posted
0
What port did you configure it for? The default is 8080 so you would call http://localhost:8080
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Rajeev Nair
Ranch Hand
Joined: Mar 11, 2002
Posts: 51
posted
0
Adam, I did that. Also i changed the port to 80 and tried http://localhost/ but throws same error page not displayed. I was checking the running.txt file and was following this (2) Start Up Tomcat 4.0 There are two techniques by which Tomcat 4.0 can be started: * Via an environment variable: - Set an environment variable CATALINA_HOME to the path of the directory into which you have installed Tomcat 4.0. - Execute the shell command: %CATALINA_HOME%\bin\startup (windows) I added set CATALINA_HOME =C:\tomcat (this is where my tomcat is) in autoexec.bat file. Also i have JAVA_HOME environment variable in autoexec.bat file. Iam unable to run the command %CATALINA_HOME%\bin\startup as said above.It says bad file name. Let me know if iam doing something wrong here. Thanks
Read this post, starting at the 10th post down from the top. The 10th post is where i link to another whole thread. Read the first two posts in the linked thread, and from the 10th post down in this one: http://www.coderanch.com/t/81802/Tomcat/Help-starting-Tomcat [ June 20, 2002: Message edited by: Mike Curwen ]