aspose file tools
The moose likes Tomcat and the fly likes Tomcat alias does not load website Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 12271
    
    1
Seems to me the appBase attribute needs to point to an absolute file path.

Bill


Java Resources at www.wbrogden.com
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14491
    
    7

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
configure 2 host name in webserver
How to configure two applications on different ports...?
Multiple webapps on different ports
HTTP to HTTPS not redirecting
What is Tomcat virtual host, What is different from the Apache Tomcat?