Hi, I'm having trouble with the manager webapp not removing the unpacked WAR after an undeploy. The result is that tomcat just redploys the webapp immediately! Do I have an incorrectly configured manager? Is the webapp itself to blame? I've pasted my context (ROOT.xml) and server.xml below with a few more comments on various <Host> settings I thought might work. Any help is appreciated.
Thanks, TOm Platform CentOS 5 http://kennetproject/manager/serverinfo OK - Server info Tomcat Version: Apache Tomcat/5.5.25 OS Name: Linux OS Version: 2.6.18-8.1.15.el5xen OS Architecture: i386 JVM Version: 1.6.0_03-b05 JVM Vendor: Sun Microsystems Inc. http://kennetproject/manager/list OK - Listed applications for virtual host kennetproject.int.intelligentspace.com /:stopped:0:/usr/share/tomcat5/temp/1-ROOT /manager:running:0:/var/lib/tomcat5/server/webapps/manager context is ROOT.xml <Context docBase="${catalina.home}/ispace/projectpro.war" antJARLocking="true" antiResourceLocking="true" debug="16"> <!-- JDBC resource --> <Resource name="jdbc/projects" auth="Container" scope="Shareable" type="javax.sql.DataSource"/> <!-- JDBC resource parameters --> <ResourceParams name="jdbc/projects"> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> </parameter> <parameter> <name>username</name> <value>project</value> </parameter> <parameter> <name>password</name> <value>project</value> </parameter> <parameter> <name>driverClassName</name> <value>com.mysql.jdbc.Driver</value> </parameter> <parameter> <name>url</name> <value>jdbc:mysql://localhost:3306/projects?zeroDateTimeBehavior=convertToNull</value> </parameter> <parameter> <name>maxWait</name> <value>3000</value> </parameter> <parameter> <name>maxIdle</name> <value>5</value> </parameter> <parameter> <name>maxActive</name> <value>10</value> </parameter> </ResourceParams> <!-- mail resource --> <Resource name="mail/default" auth="Container" type="javax.mail.Session"/> <!-- mail resource parameters --> <ResourceParams name="mail/default"> <parameter> <name>mail.smtp.host</name> <value>localhost</value> </parameter> </ResourceParams> <!-- Environment --> <Environment name="passwords/db.salary.field.aes.key" value="howdoiopendoors?" type="java.lang.String" override="false"/> </Context> server.xml 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="Catalina"> <Connector port="8080" /> <!-- This is here for compatibility only, not required --> <Connector port="8009" protocol="AJP/1.3" /> <Engine name="Catalina" defaultHost="localhost"> <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" /> <Host name="localhost" appBase="webapps" /> </Engine> </Service> <!-- Parchment Service Begin --> <Service name="Parchment"> <Connector port="8010" protocol="AJP/1.3" enableLookups="false" redirectPort="8443" allowTrace="true" debug="20"/> <Engine name="Parchment" defaultHost="kennetproject.int.intelligentspace.com" debug="20"> <Valve className="org.apache.catalina.valves.RequestDumperValve"/> <!-- Define the global realm for Parchment --> <Realm className="org.apache.catalina.realm.JNDIRealm" debug="20" connectionName="xxxxxxxxxxxxxxxxxx" connectionPassword="xxxxxxxxxxxxxxxx" connectionURL="xxxxxxxxxxxxxxxxx" userPattern="xxxxxxxxxxxxxxxxxxxxx" roleBase="xxxxxxxxxxxxxxxxxxxxxx" roleName="xxxxxxxxxxxxxxxx" roleSearch="xxxxxxxxxxxxxxx"/> <!-- project host Begin --> <Host name="kennetproject.int.intelligentspace.com" debug="20" appBase="webapps/project" unpackWARs="true" deployXML="false" autoDeploy="true"> <Alias>kennetproject</Alias> </Host> <!-- project host End --> </Engine> </Service> <!-- Parchment Service End --> </Server> I've also tried fiddling with the <Host>: <!-- project host Begin --> <!-- autoDeploy="true"--> <!-- unpackWARs="true"--> <Host name="kennetproject.int.intelligentspace.com" debug="20" appBase="webapps/project" deployXML="false"> <Alias>kennetproject</Alias> </Host> <!-- project host End --> But nothing works! -- Thomas Robinson - Infrastructure, Integration, Support, Development and Training Linux, Oracle, Windows, Networking Daedalus Compass Ltd Mobile: +44 (0)7879 428 968 132 Clifden Court, Clifden Road Work: +44 (0)20 8891 6262 Twickenham, Middlesex, TW1 4LR Fax: +44 (0)20 8891 6363 United Kingdom GPG Key: 8A4CB7A7 CONFIDENTIALITY: Copyright (C). This message with any appended or attached material is intended for addressees only and may not be copied or forwarded to or used by other parties without permission. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]