Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 58486 invoked from network); 25 Feb 2006 02:59:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Feb 2006 02:59:43 -0000 Received: (qmail 12885 invoked by uid 500); 25 Feb 2006 02:59:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 11869 invoked by uid 500); 25 Feb 2006 02:59:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 11858 invoked by uid 99); 25 Feb 2006 02:59:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 18:59:27 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of grm7790@verizon.net designates 206.46.252.40 as permitted sender) Received: from [206.46.252.40] (HELO vms040pub.verizon.net) (206.46.252.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2006 18:59:27 -0800 Received: from [127.0.0.1] ([70.17.112.189]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IV800E5W2YGZ2O2@vms040.mailsrvcs.net> for users@tomcat.apache.org; Fri, 24 Feb 2006 20:59:04 -0600 (CST) Date: Fri, 24 Feb 2006 22:01:20 -0500 From: Glen Mazza Subject: Re: [HELP] Forcing Context Reload (watched resource) via Java Code In-reply-to: <20060224195151.NAKH16555.aamta11-winn.ispmail.ntl.com@rob> To: Tomcat Users List Message-id: <43FFC880.9030600@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8BIT X-Accept-Language: es-es, es X-Antivirus: avast! (VPS 0608-1, 02/23/2006), Outbound message X-Antivirus-Status: Clean References: <20060224195151.NAKH16555.aamta11-winn.ispmail.ntl.com@rob> User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Rob Gregory escribi�: > Hi All > > > > I'm using Tomcat 5.5.9 on Java 1.5.under mixed OS's. > > > > > > The question is one of forcing a context/webapp reload via java code - is > this possible? I know adding a watched resource or adding a new lib triggers > a reload (so hopefully to trigger this via code is possible). > Could the Ant manager commands be an option (they have deploy, undeploy, etc., tasks) for you? http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant Glen --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org