File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat alias does not load website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat alias does not load website" Watch "Tomcat alias does not load website" New topic

Tomcat alias does not load website

Gina vernon
Ranch Hand

Joined: Jan 16, 2009
Posts: 108
I have the following server.xml

When I try to access the website at, it displays the 'Under Construction' page.

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12983
Seems to me the appBase attribute needs to point to an absolute file path.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16914

To expand on William's answer, it appears that you've configured the host to look for an exploded WAR at TOMCAT_HOME/webapps/app, since TOMCAT_HOME/webapps is the reference point for relative paths (and absolute paths ARE usually recommended). The "explodeWar" attribute would be meaningless since the WAR is expected to be pre-exploded.

Customer surveys are for companies who didn't pay proper attention to begin with.
It is sorta covered in the JavaRanch Style Guide.
subject: Tomcat alias does not load website
It's not a secret anymore!