i have a little strange problem. The security department in my company wants every tomcat to respect the following configuration parameters:
autoDeploy="false"
deployOnStartup="false"
When i configure the above parameters no web app (including the manager-app) will be deployed on startup and i can't deploy apps through the manager-app...
Can i define the deployment of the manager-app in server.xml or something like this? I want only to deploy the manager-app on startup.
Edit: Here is my ${CATALINA_HOME}/conf/server.xml
...
<Service name="Catalina">
...
<Engine name="Catalina" defaultHost="localhost">
...
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="false"
deployOnStartup="false"
xmlValidation="false" xmlNamespaceAware="false"
deployXml="false">
...
and this is my ${CATALINA_HOME}/webapps/manager/META-INF/context.xml
<Context path="/manager"
docBase="/usr/share/tomcat6/webapps/manager"
debug="0"
privileged="true"
autoDeploy="true"
deployOnStartup="true">
<ResourceLink name="users"
global="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127.0.0.1"/>
</Context>
greets
Goetz