• 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

Configuration problem

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I've found out the problem. Thanks for your help!
 
You've gotta fight it! Don't give in! Read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic