This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat alias does not load website  RSS feed

 
Gina vernon
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems to me the appBase attribute needs to point to an absolute file path.

Bill
 
Tim Holloway
Bartender
Posts: 18709
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!