Re: Tomcat Manager deploy and undeploy

2003-06-10 Thread Ulrich Mayring
Phillip Qin wrote: Just move your Context../Context from server.xml to an XML file. There are two naming styles: 2. Deploy by Tomcat to webapps: - name it myapp.xml; - make myapp.war; - copy myapp.xml and myapp.war to webapps Unfortunately this doesn't work right in my mind. For if I remove

RE: Tomcat Manager deploy and undeploy

2003-06-10 Thread Phillip Qin
Agree. Point 2 is for you to manually deploy the webapp. -Original Message- From: Ulrich Mayring [mailto:[EMAIL PROTECTED] Sent: June 10, 2003 7:11 AM To: [EMAIL PROTECTED] Subject: Re: Tomcat Manager deploy and undeploy Phillip Qin wrote: Just move your Context../Context from

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Jacob Kjome
One clarification and a solution... At 12:48 PM 6/5/2003 -0400, you wrote: I finally had my Catalina-Ant undeploy task working after I included context.xml into my war's META-INF directory. What this deployment doing is - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
Yes, the classes and jars are unpacked to work/my.host/myapp too. I use Digester to parse my xmls. I'll give getResourceAsStream a try. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 1:04 PM To: Tomcat Users List Subject: Re: Tomcat Manager deploy

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Paul Christmann
Phillip Qin wrote: - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is unpacked into $CATALIAN_HOME/webapps/myapp; Jacob Kjome wrote: completely false I have to agree with Phillip -- I've seen (and reliably reproduced) this behavior with Tomcat 4.1.24-LE. The only way I

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
unpacking the war. -Original Message- From: Paul Christmann [mailto:[EMAIL PROTECTED] Sent: June 5, 2003 1:54 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat Manager deploy and undeploy Phillip Qin wrote: - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is unpacked

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Paul Christmann
Jacob Kjome wrote: Tomcat wouldn't unpack myapp.war even if unpackWar=true unless myapp.war actually found its way into the appBase of the host which by default in Tomcat is CATALINA_HOME/webapps. Using the Tomcat ant manager tasks to deploy a .war to Tomcat, this simply doesn't happen. The

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Jacob Kjome
Do you add a META-INF/context.xml file containing your Context ... information with the docBase pointing to myapp.war? I always add that and I've never seen the behavior of anything being added to CATALINA_HOME/webapps from the deploy task. That doesn't mean it doesn't happen, it just means

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Paul Christmann
Jacob Kjome wrote: Do you add a META-INF/context.xml file containing your Context ... information with the docBase pointing to myapp.war? No, I've never added that. It was only with this release that I even noticed the documentation that it was possible. But thus far I've never needed it.

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
:54 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat Manager deploy and undeploy Phillip Qin wrote: - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is unpacked into $CATALIAN_HOME/webapps/myapp; Jacob Kjome wrote: completely false I have to agree with Phillip -- I've

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Jacob Kjome
things going on, but I've never, ever, seen the .war file added to webapps or unpacked to webapps. Jake -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 12:11 AM To: Tomcat Users List Subject: RE: Tomcat Manager deploy and undeploy At 02:48 PM 6/5/2003

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
: Tomcat Manager deploy and undeploy Jacob Kjome wrote: Tomcat wouldn't unpack myapp.war even if unpackWar=true unless myapp.war actually found its way into the appBase of the host which by default in Tomcat is CATALINA_HOME/webapps. Using the Tomcat ant manager tasks to deploy a .war to Tomcat

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
that will be work/myapp.war. -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 10:50 AM To: Tomcat Users List Subject: Re: Tomcat Manager deploy and undeploy Do you add a META-INF/context.xml file containing your Context ... information with the docBase

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 11:25 AM To: Tomcat Users List Subject: RE: Tomcat Manager deploy and undeploy At 11:10 AM 6/6/2003 -0400, you wrote: - GUI's Upload task is not a Deploy task. It is described in the manager html-doc. Yes, just wanted

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Jim Lynch
I've been following this thread with interest since I've never been able to get undeploy to work either. Where might I go to learn about context.xml and most importantly, what goes into it? Examples would be great. Thanks, Jim. Phillip Qin wrote: Having added context.xml, Deploy/Undeploy

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Tim Shaw
Best example is a Context entry in server.xml ... As I understand : context.xml contains whatever can go into the Context element in server.xml. These contents are explained (fairly well but without a tutorial aspect) in the Config HowTo docs. This context.xml file is then packaged into the

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
to the same directory as myapp.xml. 2. Deploy by Tomcat to webapps: - name it myapp.xml; - make myapp.war; - copy myapp.xml and myapp.war to webapps -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 12:46 PM To: Tomcat Users List Subject: Re: Tomcat Manager

Re: Tomcat Manager deploy and undeploy

2003-06-06 Thread Jacob Kjome
take a look at the CATALINA_HOME/webapps directory and look at manager.xml and admin.xml Those are context configuration files. When deploying a .war file (via the catalina ant manager deploy task), the context configuration file needs to be named context.xml and added to the META-INF

RE: Tomcat Manager deploy and undeploy

2003-06-06 Thread Phillip Qin
Actually there is a very detail how-to on tomcat's site: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 2:38 PM To: Tomcat Users List Subject: Re: Tomcat Manager deploy and undeploy

RE: Tomcat Manager deploy and undeploy

2003-06-05 Thread Jacob Kjome
To: [EMAIL PROTECTED] Subject: Re: Tomcat Manager deploy and undeploy Phillip Qin wrote: - war is uploaded to $CATALINA/work/Standalone/my.host/manager; - war is unpacked into $CATALIAN_HOME/webapps/myapp; Jacob Kjome wrote: completely false I have to agree with Phillip -- I've seen (and reliably

Re: tomcat manager deploy and undeploy

2003-06-05 Thread Jim Lynch
I do an ant remove before I do the deploy. That works for me. Jim. Phillip Qin wrote: Did anyone solve Cannot remove document base for path /mywebapp? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: tomcat manager deploy and undeploy

2003-06-05 Thread Phillip Qin
List Subject: Re: tomcat manager deploy and undeploy I do an ant remove before I do the deploy. That works for me. Jim. Phillip Qin wrote: Did anyone solve Cannot remove document base for path /mywebapp? - To unsubscribe

RE: tomcat manager deploy and undeploy

2003-06-05 Thread Phillip Qin
Remove didn't delete struts.jar only happens on Windows box. Linux is OK. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: June 4, 2003 2:03 PM To: 'Tomcat Users List' Subject: RE: tomcat manager deploy and undeploy But remove will not remove your Context entry