File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Configuration problem" Watch "Configuration problem" New topic

Configuration problem

Alice Wong

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://{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.

Alice Wong

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

Joined: Oct 12, 2004
Posts: 22
Hi, I've found out the problem. Thanks for your help!
I agree. Here's the link:
subject: Configuration problem
It's not a secret anymore!