Re: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
The trick is to use the deploy task rather than the install task, and include the context.xml (make sure it's named context.xml) in the META-INF directory inside the war file. Tomcat will find the context file, and add the contents to the server.xml file. Then, use redeploy to deploy changes,

RE: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Robert D. Abernethy IV
}.xml war=${app.name}.war/ Rob Abernethy Dynamic Edge, Inc. -Original Message- From: Andrew Shirk [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 11:46 AM To: [EMAIL PROTECTED] Cc: Matt Raible Subject: Re: Tomcat's Ant Tasks [Install] The trick is to use the deploy

Re: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Matt Raible
I'm guessing this is a Tomcat 5 thing? I tried the context.xml (in my war's META-INF directory) thing in Tomcat 4.1.29 and it didn't work, but maybe I need to use Tomcat's Ant task for this to work? Also, it is possible to use Tomcat 5's catalina-ant.jar to deploy to Tomcat 4's manager app -

Re: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
At 01:16 PM 1/22/2004, you wrote: I'm guessing this is a Tomcat 5 thing? I tried the context.xml (in my war's META-INF directory) thing in Tomcat 4.1.29 and it didn't work, but maybe I need to use Tomcat's Ant task for this to work? Yes, you need to use the Ant task (deploy). I use it daily

RE: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
At 12:47 PM 1/22/2004, you wrote: Are you using Tomcat 4 or Tomcat 5? For Tomcat 5, the deploy task works great. However, for Tomcat 4, I have found there is no perfect solution. The install task for Tomcat 4 is for installing web applications found on the same server as Tomcat. The deploy

RE: Tomcat's Ant Tasks [Install] - SOLVED!

2004-01-22 Thread Matt Raible
At 12:47 PM 1/22/2004, you wrote: Are you using Tomcat 4 or Tomcat 5? For Tomcat 5, the deploy task works great. However, for Tomcat 4, I have found there is no perfect solution. The install task for Tomcat 4 is for installing web applications found on the same server as Tomcat. The

RE: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Robert D. Abernethy IV
PROTECTED] Sent: Thursday, January 22, 2004 3:22 PM To: Tomcat Users List Cc: Robert D. Abernethy IV Subject: RE: Tomcat's Ant Tasks [Install] Importance: Low At 12:47 PM 1/22/2004, you wrote: Are you using Tomcat 4 or Tomcat 5? For Tomcat 5, the deploy task works great. However, for Tomcat 4

Re: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Remy Maucherat
Robert D. Abernethy IV wrote: What does the name of the context file have to be? The Tomcat 5 deploy task is automatically looking for META-INF/context.xml. Will this name work? Or does the file need the same name as the context? No, it's context.xml always. It will then be copied (and renamed)

RE: Tomcat's Ant Tasks [Install]

2004-01-22 Thread Andrew Shirk
Dynamic Edge, Inc. -Original Message- From: Andrew Shirk [mailto:[EMAIL PROTECTED] Sent: Thursday, January 22, 2004 3:22 PM To: Tomcat Users List Cc: Robert D. Abernethy IV Subject: RE: Tomcat's Ant Tasks [Install] Importance: Low At 12:47 PM 1/22/2004, you wrote: Are you using Tomcat 4

Tomcat's Ant Tasks [Install]

2004-01-21 Thread Matt Raible
Is it possible to use the install ant task to deploy to a remote server? I would think so, but it seems that the Manager app of Tomcat tries to load the context file on the remote server... install url=${tomcat.manager.url} username=${tomcat.username}

RE: Tomcat's Ant Tasks

2003-06-25 Thread Phillip Qin
] Sent: June 24, 2003 6:19 PM To: '[EMAIL PROTECTED]' 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

Re: Tomcat's Ant Tasks

2003-06-25 Thread Tim Shaw
. -Original Message- From: Raible, Matt [mailto:[EMAIL PROTECTED] Sent: June 24, 2003 6:19 PM To: '[EMAIL PROTECTED]' 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

RE: Tomcat's Ant Tasks

2003-06-25 Thread Phillip Qin
Do you use Tomcat? Do you start Tomcat with -security? -Original Message- From: Tim Shaw [mailto:[EMAIL PROTECTED] 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

Re: Tomcat's Ant Tasks

2003-06-25 Thread Tim Shaw
/undeploy in TC5, so I guess I found the right route ... Phillip Qin wrote: Do you use Tomcat? Do you start Tomcat with -security? -Original Message- From: Tim Shaw [mailto:[EMAIL PROTECTED] Sent: June 25, 2003 11:34 AM To: Tomcat Users List Subject: Re: Tomcat's Ant Tasks Personally, I use

RE: Tomcat's Ant Tasks

2003-06-25 Thread Phillip Qin
Users List Subject: Re: Tomcat's Ant Tasks I haven't used the -security - access is by trusted souls (and developers :-) on a closed network. I would tend to treat this as othogonal to the development anyway, much as DB access and configuration is within the J2EE environments. I see install etc

Tomcat's Ant Tasks

2003-06-24 Thread Raible, Matt
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

Re: Tomcat's Ant Tasks

2003-06-24 Thread Yoav Shapira
. Yoav Shapira --- Raible, Matt [EMAIL PROTECTED] wrote: 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