aspose file tools*
The moose likes Tomcat and the fly likes Configuration problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Configuration problem" Watch "Configuration problem" New topic
Author

Configuration problem

Alice Wong
Greenhorn

Joined: Oct 12, 2004
Posts: 22
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

Joined: Aug 31, 2004
Posts: 295
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

Joined: Oct 12, 2004
Posts: 22
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

Joined: Oct 12, 2004
Posts: 22
Hi, I've found out the problem. Thanks for your help!
 
 
subject: Configuration problem