I've been giving this thing a try for the last 3 hours and nothing. I need to drop a new war and have tomcat autodeploy it. It is not happening. Here is my simplified configuration:
<Engine name="Catalina" defaultHost="localhost"> <Host name="something.com" appBase="/var/www/something.com/webapps" unpackWARs="false" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" docBase="application.war" debug="0" reloadable="true"> ... some realm and data source stuff here </Context> </Host> </Engine>
When I start tomcat everything works great. I have tried two approaches:
- Copy a new war using scp in the location.
In both cases I can see
catalina.err with the same message:
INFO: Undeploying context [/application]
Without a corresponding
INFO: Deploying web application archive application.war
which I get when I restart tomcat. I have a feeling this is because it is not inside the
CATALINA_BASE/webapps but don't know how to proceed. Any help?