This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes problem configuring tomcat 4.0.3 under win 98 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "problem configuring tomcat 4.0.3 under win 98" Watch "problem configuring tomcat 4.0.3 under win 98" New topic
Author

problem configuring tomcat 4.0.3 under win 98

Rajeev Nair
Ranch Hand

Joined: Mar 11, 2002
Posts: 51
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: 566
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
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
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
if u change the port 80 then u can try this url
http://localhost:80/
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

You said: It says bad file name

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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem configuring tomcat 4.0.3 under win 98