• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem configuring tomcat 4.0.3 under win 98

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if u change the port 80 then u can try this url
http://localhost:80/
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: https://coderanch.com/t/81802/Tomcat/Help-starting-Tomcat
[ June 20, 2002: Message edited by: Mike Curwen ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic