Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 91344 invoked from network); 25 Jun 2003 16:24:28 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Jun 2003 16:24:28 -0000 Received: (qmail 20137 invoked by uid 97); 25 Jun 2003 16:26:52 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 20130 invoked from network); 25 Jun 2003 16:26:52 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 25 Jun 2003 16:26:52 -0000 Received: (qmail 89058 invoked by uid 500); 25 Jun 2003 16:24:01 -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 88972 invoked from network); 25 Jun 2003 16:24:00 -0000 Received: from www.shareowner.com (HELO shareowner.com) (66.46.24.147) by daedalus.apache.org with SMTP; 25 Jun 2003 16:24:00 -0000 Received: from exchange.int.shareowner.com (gw.shareowner.com [66.46.24.163]) by shareowner.com (8.11.6/8.11.6) with ESMTP id h5PFLjf01403 for ; Wed, 25 Jun 2003 11:21:45 -0400 Received: by exchange.int.shareowner.com with Internet Mail Service (5.5.2656.59) id ; Wed, 25 Jun 2003 12:23:27 -0400 Message-ID: From: Phillip Qin To: "'Tomcat Users List'" Subject: RE: Tomcat's Ant Tasks Date: Wed, 25 Jun 2003 12:23:24 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C33B36.19F70E00" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C33B36.19F70E00 Content-Type: text/plain Do you use Tomcat? Do you start Tomcat with -security? -----Original Message----- From: Tim Shaw [mailto:tim@everserve.co.uk] Sent: June 25, 2003 11:34 AM To: Tomcat Users List Subject: Re: Tomcat's Ant Tasks Personally, I use deploy/undeploy, even during development - saves worrying about copying files around and mapping network drives etc (apart from anything, I run load-tests automatically on both W2K and Linux servers, scripted from Ant). This is the way I work remotely/in production, and it's not a big overhead ... although I'd like to see recommendations as to size/whatever where performance difference became 'significant' [5 secs?]. For development I just have a local TC/MySQL/... setup - the only thing I ever need to change is the server hostname. Anyone think a comment on the plus/minus of the approaches worth following up? Thanks tim Phillip Qin wrote: > As I said in my previous post, I gave up using tomcat ant task to deploy my > app on production box due to the difficulty of granting permission to war. > If you don't start tomcat -security, catalina ant tasks are still the > easiest way to go. > > My lesson learnt from using Catalina tasks is, most of the errors are caused > by wrong path= and/or war=. Following suggestions are based on linux > > - install: > > path="${your.app.path}" > war="file:/${your.unpacked.dir.containing.your.webapp}" or > war="jar:file:/${your.dir.containing.war}/${your.war}!/" > > - remove: only works if you've "install"ed before > > path="${your.app.path}" > > - reload > > path="${your.app.path}" > > Other comments: > > Theoretically, correct me if I am wrong, if I install my webapp from my > local dev box to remote server, install task will lock your local dir as > in-use on win32 box. > > -----Original Message----- > From: Raible, Matt [mailto:Matt_Raible@cable.comcast.com] > Sent: June 24, 2003 6:19 PM > To: 'tomcat-user@jakarta.apache.org' > Subject: Tomcat's Ant Tasks > > I'm having trouble using Tomcat's Ant Tasks. I've written up a wiki page on > how I'm using them and the problems I'm experiencing. Any help is > appreciated. > > http://raibledesigns.com/wiki/Wiki.jsp?page=TomcatAntTasks > > Thanks, > > Matt > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org ------_=_NextPart_001_01C33B36.19F70E00--