Meaningless Drivel is fun!
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
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: 13018
Seems to me the appBase attribute needs to point to an absolute file path.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17145

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Tomcat alias does not load website
It's not a secret anymore!