File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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: 12760
    
    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: 15952
    
  19

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat alias does not load website
 
Similar Threads
How to configure two applications on different ports...?
What is Tomcat virtual host, What is different from the Apache Tomcat?
configure 2 host name in webserver
HTTP to HTTPS not redirecting
Multiple webapps on different ports