This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Author

Tomcat alias does not load website

Gina vernon
Ranch Hand

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


When I try to access the website at https://portal.company.com/, it displays the 'Under Construction' page.

Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

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

Bill
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17033
    
  26

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.
 
Have you checked out Aspose?
 
subject: Tomcat alias does not load website
 
jQuery in Action, 3rd edition