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="20000" 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