Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 64152 invoked from network); 1 Apr 2002 22:40:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Apr 2002 22:40:01 -0000 Received: (qmail 4586 invoked by uid 97); 1 Apr 2002 22:39:49 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 4570 invoked by uid 97); 1 Apr 2002 22:39:48 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 4559 invoked from network); 1 Apr 2002 22:39:48 -0000 To: tomcat-user@jakarta.apache.org Subject: Process for using Manager reload of war file? From: dmkarr@earthlink.net (David M. Karr) Date: 01 Apr 2002 14:39:49 -0800 Message-ID: <86y9g7jb62.fsf@earthlink.net> Lines: 35 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp (Windows [1])) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm trying to understand the complete process of getting the Manager application to completely reload a rebuilt application. I'm on Win2k, with TC 4.0.4b2, and JDK 1.4.0. With Tomcat down, I make sure I have a valid WAR file copied into webapps, and the unpacked directory is gone. I then start Tomcat and test the app. Now, I make a minor change to one JSP file and rebuild the WAR file. At this point, I've tried various things, starting with copying the new WAR file into webapps. I've tried the "reload" op. I've tried using "stop", and then "start". I've tried deleting the unpacked directory, but while Tomcat is running, this never completes (Tomcat probably has something open). None of these things seem to result in Tomcat reloading the app. When I retest the app, it doesn't show the minor change I made to the JSP. I've verified that the Manager app basically works, as I can execute the "list" operation, and I can use "stop" and "start" on an app to see its different output in the "list" output. I'm just using "wget" to interface to the Manager app, writing results to standard output. I wondered whether the "unpackWARs" attribute in my Context element in "server.xml" would make it NOT unpack the WAR into the directory, but this seemed to have no effect. I set this to "false", made sure the unpacked directory was gone, restarted Tomcat, and it unpacked the WAR again. -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ dmkarr@earthlink.net -- To unsubscribe: For additional commands: Troubles with the list: