Hi,

I had the same trouble with undeploy, residual JARs in WEB-INF/lib which then 
totally screwed up any chance of redeploying. So another stop Tomcat, delete 
manually, deploy.

I'd be interested to learn if there is anything that can be done too ... 

Allistair.

> -----Original Message-----
> From: rahul [mailto:[EMAIL PROTECTED]
> Sent: 13 September 2005 14:23
> To: Tomcat Users List
> Subject: RE: problem with tomcat manager's deploy command
> 
> 
> Thanks Charles,
> 
> Now I am defining my application context in a separate file 
> under META-INF
> 
> But still I am not been able to undeploy my application (using tomcat
> manager)
> 
> Tomcat Manager's undeploy command, which I run from ant
> is not cleaning some of the jar files in my application's lib folder
> However no error shown on ant prompt.
> 
> This is how I am using undeploy command in ant script
> 
> <target name="undeploy" description="Remove application from Tomcat">
>       <undeploy       url="${tomcat.manager.url}"
>                       username="${tomcat.manager.username}"
>                       password="${tomcat.manager.password}"
>                       path="/${app.name}"
>       />
> </target>
> 
> any suggestions?
> 
> 
> 
> 
> -----Original Message-----
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 12, 2005 7:50 PM
> To: Tomcat Users List
> Subject: RE: problem with tomcat manager's deploy command
> Importance: High
> 
> 
> > From: rahul [mailto:[EMAIL PROTECTED]
> > Subject: problem with tomcat manager's deploy command
> >
> > If I remove this context tag from "server.xml" then the deploy
> > command works fine.
> >
> > But I want to keep this information in "server.xml" and at
> > the same time use tomcat manager's deploy command from ant script
> 
> You may want to rethink that one.  From the Tomcat 5.5 
> documentation for
> <Context>:
> 
> "Please note that for tomcat 5, unlike tomcat 4.x, it is NOT 
> recommended
> to place <Context> elements directly in the server.xml file.  Instead,
> put them in the META-INF/context.xml directory of your WAR file or the
> conf directory as described above."
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE 
> PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete 
> the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT> <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLACK> 
Disclaimer:  The information contained within this e-mail is confidential and 
may be privileged. This email is intended solely for the named recipient only; 
if you are not authorised you must not disclose, copy, distribute, or retain 
this message or any part of it. If you have received this message in error 
please contact the sender at once so that we may take the appropriate action 
and avoid troubling you further.  Any views expressed in this message are those 
of the individual sender.  QAS Limited has the right lawfully to record, 
monitor and inspect messages between its employees and any third party.  Your 
messages shall be subject to such lawful supervision as QAS Limited deems to be 
necessary in order to protect its information, its interests and its 
reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS 
Limited cannot guarantee that attachments are virus free or compatible with 
your systems and does not accept any liability in respect of viruses or 
computer problems experienced.
</FONT>


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

Reply via email to