Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem configuring tomcat 4.0.3 under win 98

 
Rajeev Nair
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What port did you configure it for? The default is 8080 so you would call http://localhost:8080
 
Rajeev Nair
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if u change the port 80 then u can try this url
http://localhost:80/
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic