DEPLOY ON STARTUP
Hello, I'm working with Tomcat 6.0.16. Is there any way to avoid tomcat deploys war files when starting? In my host I've set autoDeploy to false and deployOnStartup to false, but when Tomcat starts, it deploys my wars. Thanks in advance, Joan.
RE: DEPLOY ON STARTUP
From: Joan Ventus Proxy [mailto:joan.balagu...@ventusproxy.com] Subject: DEPLOY ON STARTUP I'm working with Tomcat 6.0.16. Is there any way to avoid tomcat deploys war files when starting? In my host I've set autoDeploy to false and deployOnStartup to false, but when Tomcat starts, it deploys my wars. I've never seen this problem; post the server.xml you think you're using. You didn't tell us how you're running Tomcat - via scripts, as a service, or under an IDE. If it's the last, IDEs have this annoying habit of ignoring your configuration and using their own. Make sure the problem occurs when you're running Tomcat by itself. Also, try moving up to 6.0.18; no one likes looking at bugs in non-current levels. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: DEPLOY ON STARTUP
Hello, I'm starting Tomcat with the startup.sh script located in /bin Tomcat installation directory (Linux RHES 3). I attach my server.xml. Thanks, Joan. -Mensaje original- De: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Enviado el: jueves, 16 de abril de 2009 18:28 Para: Tomcat Users List Asunto: RE: DEPLOY ON STARTUP From: Joan Ventus Proxy [mailto:joan.balagu...@ventusproxy.com] Subject: DEPLOY ON STARTUP I'm working with Tomcat 6.0.16. Is there any way to avoid tomcat deploys war files when starting? In my host I've set autoDeploy to false and deployOnStartup to false, but when Tomcat starts, it deploys my wars. I've never seen this problem; post the server.xml you think you're using. You didn't tell us how you're running Tomcat - via scripts, as a service, or under an IDE. If it's the last, IDEs have this annoying habit of ignoring your configuration and using their own. Make sure the problem occurs when you're running Tomcat by itself. Also, try moving up to 6.0.18; no one likes looking at bugs in non-current levels. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org Server port=8005 shutdown=SHUTDOWN !--APR library loader. Documentation at /docs/apr.html -- Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / !--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -- Listener className=org.apache.catalina.core.JasperListener / !-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener / GlobalNamingResources Resource name=UserDatabase auth=Container type=org.apache.catalina.UserDatabase description=User database that can be updated and saved factory=org.apache.catalina.users.MemoryUserDatabaseFactory pathname=conf/tomcat-users.xml / /GlobalNamingResources Service name=VPFW Connector port=80 protocol=HTTP/1.1 maxThreads=150 connectionTimeout=2 redirectPort=8443 / Engine name=VPFW defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase/ Host name=localhost appBase=/var/local/projectes/vpfw52/war debug=0 unpackWARs=true autoDeploy=false deployOnStartup=false xmlValidation=false xmlNamespaceAware=false Context path= docBase=vpfw.war debug=0 reloadable=false crossContext=false Resource name=jdbc/dsVPFW auth=Container type=javax.sql.DataSource password=vpfw52 driverClassName=com.mysql.jdbc.Driver maxIdle=2 maxWait=5000 username=vpfw52 url=jdbc:mysql://localhost/vpfw52 maxActive=50/ /Context /Host /Engine /Service /Server - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: DEPLOY ON STARTUP
Joan Ventus Proxy wrote: Hello, I'm starting Tomcat with the startup.sh script located in /bin Tomcat installation directory (Linux RHES 3). Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: DEPLOY ON STARTUP
Hello, What does 'discovered' by Tomcat mean? Those contexts located in conf/Catalina/hostname, with the associated xml? Joan. -Mensaje original- De: Mark Thomas [mailto:ma...@apache.org] Enviado el: jueves, 16 de abril de 2009 18:50 Para: Tomcat Users List Asunto: Re: DEPLOY ON STARTUP Joan Ventus Proxy wrote: Hello, I'm starting Tomcat with the startup.sh script located in /bin Tomcat installation directory (Linux RHES 3). Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: DEPLOY ON STARTUP
Joan Ventus Proxy wrote: Hello, What does 'discovered' by Tomcat mean? Anything found by the autodeployment process as per the docs. Mark Those contexts located in conf/Catalina/hostname, with the associated xml? Joan. -Mensaje original- De: Mark Thomas [mailto:ma...@apache.org] Enviado el: jueves, 16 de abril de 2009 18:50 Para: Tomcat Users List Asunto: Re: DEPLOY ON STARTUP Joan Ventus Proxy wrote: Hello, I'm starting Tomcat with the startup.sh script located in /bin Tomcat installation directory (Linux RHES 3). Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: DEPLOY ON STARTUP
From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: DEPLOY ON STARTUP Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. With both autoDeploy and deployOnStartup disabled and no Context elements in server.xml in Tomcat 6.0, I have been unable to discover any means of deploying a webapp. Is there a trick to making this a usable configuration, other than putting a Context for the manager webapp in server.xml? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: DEPLOY ON STARTUP
Caldarale, Charles R wrote: From: Mark Thomas [mailto:ma...@apache.org] Subject: Re: DEPLOY ON STARTUP Any context defined in server.xml always gets deployed. deployOnStartup and autoDeploy apply only to contexts 'discovered' by Tomcat. With both autoDeploy and deployOnStartup disabled and no Context elements in server.xml in Tomcat 6.0, I have been unable to discover any means of deploying a webapp. Is there a trick to making this a usable configuration, other than putting a Context for the manager webapp in server.xml? I don't think so. You *might* be able to do something via JMX but I haven't checked. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org