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
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

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
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: 567
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
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.
Graham Thorpe
Ranch Hand

Joined: Mar 25, 2002
Posts: 265
if u change the port 80 then u can try this url
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:
[ June 20, 2002: Message edited by: Mike Curwen ]
I agree. Here's the link:
subject: problem configuring tomcat 4.0.3 under win 98
jQuery in Action, 3rd edition