Manisha,
you you neeed to change some setting in your server.xml in the Host element,
make these two attribute  true (unpackWARs & autoDeploy)

like this

<Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">


cheers
Manish

-----Original Message-----
From: Manisha Sathe [mailto:[EMAIL PROTECTED]
Sent: Thu, 23 Dec 2004 07:50
To: Tomcat Users List
Subject: RE: Want to know better way of deploying


Thanks all. I am on Windows but Tomcat version is 5.0.  So meaning no other
solution ?

regards
Manisha



Abhay Hiwarkar <[EMAIL PROTECTED]> wrote: Manisha,

Earlier versions of Tomcat lock the file and you can not modify the same
while Tomcat is running. Which ver are you running?

Abhay



-----Original Message-----
From: Goel, Manish Kumar [mailto:[EMAIL PROTECTED]
Sent: Thu, 23 Dec 2004 07:29
To: Tomcat Users List
Subject: RE: Want to know better way of deploying


Daniel,
On Linux running application are deleted it's not bug I guess.

Manish

-----Original Message-----
From: Daniel Watrous [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 23, 2004 10:55 AM
To: Tomcat Users List
Subject: Re: Want to know better way of deploying


Manisha,

I have also had this occur when using Tomcat on Windows, but never with
Tomcat running on Linux. Maybe this is a bug related to Tomcat on
Windows... Are you using Windows?

Daniel
----- Original Message -----
From: "Manisha Sathe"
To:
Sent: Wednesday, December 22, 2004 10:21 PM
Subject: Want to know better way of deploying


>I am using ant to create war file. Then i undeploy previous version and
>try
>to deploy new version. But when i try to do this it says
>
>
> FAIL - War file "strutstest.war" already exists on server
>
>
> Inside /webapp - previous uploaded war file is still present. I can
> not
> delete just like that as it says sharing violation.
>
> So i need to stop Tomcat, delete /webapp/{my prev war file}. Then
> start
> the Tomcat again and deploy the new file.
>
> Is there any other soln ? so that w/o restarting my tomcat can i just
> deploy new version ?
>
> regards
>
> Manisha
>
>
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------
Do you Yahoo!?
 Send holiday email and support a worthy cause. Do good.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***********************************************************************************
Information contained in this email message is intended only for use of the
individual or entity named above. If the reader of this message is not the
intended recipient, or the employee or agent responsible to deliver it to
the intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please immediately notify the
[EMAIL PROTECTED] and destroy the original message.
**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to