Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuration problem

 
Alice Wong
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've installed Apache HTTP server 2.0.48 and Tomcat 5.0
The following pages can be loaded successfully:
http://localhost
http://localhost:8080
http://{my static ip}:8080
http://{my static ip}:8080/tomcat-docs

My site resides in $TOMCAT_HOME/webapps/hello

But when I navigate to http://{my static ip}:8080/hello, it says

HTTP Status 404 - /hello
type Status report
message /hello
description The requested resource (/hello) is not available.
Apache Tomcat/4.1.24

Is there any other settings that I missed?
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Alice,

Could you ensure the directory structure of your web application?

More specifically, it should have a web-inf folder, with a web.xml file.

In case of http://localhost:8080working fine, Tomcat does not seem to have problems.

Try Ensuring the directory structure of the application. That might help you.

Cheers,
Swamy
 
Alice Wong
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reminding me. The directory structure is ok. My site can be reached by http://localhost:8080/hello but not by the static ip. Any idea about the problem?
 
Alice Wong
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I've found out the problem. Thanks for your help!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic