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 unpacked into $CATALIAN_HOME/webapps/myapp;
- context.xml is extracted to manage
Did anyone solve "Cannot remove document base for path /mywebapp"?
My environment is
Redhat 7.2
Apache 2.0.46
Tomcat 4.1.24
J2sdk 1.4.1_01
I deployed my webapp using Catalina-ant Deploy task. War file was uploaded
to work/Standalone/myhost/manager and unpacked into webapps/mywebapp.
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 unpac
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 deplo
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
makes no sense 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.hos
loy" because mixing them will very likely give you
unpredictable behavior.
Jake
-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
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.
T
Do you add a META-INF/context.xml file containing your
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 I haven'
Jacob Kjome wrote:
> Do you add a META-INF/context.xml file containing your
> 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.
If one d
you don't mix up
"remove" and "undeploy" because mixing them will very likely give you
unpredictable behavior.
Jake
>-Original Message-
>From: Paul Christmann [mailto:[EMAIL PROTECTED]
>Sent: June 5, 2003 1:54 PM
>To: [EMAIL PROTECTED]
>
I haven't figured out how to reproduce that
becuause now my behavior is totally back to normal. So, I grant you that
there are some weird things going on, but I've never, ever, seen the .war
file added to webapps or unpacked to webapps.
Jake
-Original Message-
From: Jacob K
[EMAIL PROTECTED]
Subject: Re: 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.
xml except
docBase 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
information with the docBas
--Original 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.
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 w
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 ME
o 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" d
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 und
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"?
>
-
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 C
Phillip Qin wrote:
Just move your .. 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 the
webapp via th
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 .. from server.xml to
25 matches
Mail list logo