tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Qin <>
Subject RE: Tomcat's Ant Tasks
Date Wed, 25 Jun 2003 16:23:24 GMT
Do you use Tomcat? Do you start Tomcat with -security?

-----Original Message-----
From: Tim Shaw [] 
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 

Anyone think a comment on the plus/minus of the approaches worth 
following up?



Phillip Qin wrote:
> As I said in my previous post, I gave up using tomcat ant task to deploy
> 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
> by wrong path= and/or war=. Following suggestions are based on linux
> - install: 
> 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="${}"
> - reload
> 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 [] 
> Sent: June 24, 2003 6:19 PM
> To: ''
> Subject: Tomcat's Ant Tasks
> I'm having trouble using Tomcat's Ant Tasks.  I've written up a wiki page
> how I'm using them and the problems I'm experiencing.  Any help is
> appreciated.
> Thanks,
> Matt
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message