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
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
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
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
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
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
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
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
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.
: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
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
: 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
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
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
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
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
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
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
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
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
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,
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
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
23 matches
Mail list logo