Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

AW: How to avoide delete context.xml - 6.0.14

hans mader

2007-08-06


I want to add, that the context couldn't get started (only after 2nd deployment)
although the server was restarted.

Hans.

-----Ursprüngliche Nachricht-----
Von: Mader Hans-Dieter, J-I
Gesendet: Montag, 06. August 2007 09:28
An: 'Tomcat Users List'
Betreff: AW: How to avoide delete context.xml - 6.0.14


Hi,

I placed the context.xml into the META-INF,
undeployed (delete of WAR,exploded,conf/.../context.xml ) the previous app and deployed again.

The first time of deployment, it works fine (ant based file copy to webapps)!

The second time the server seems to deploy but the context isn't to be started again...

Hans.

-----Ursprüngliche Nachricht-----
Von: Hassan Schroeder [mailto:hassan.schroeder@(protected)]
Gesendet: Freitag, 03. August 2007 18:20
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/3/07, Mark H. Wood <mwood@(protected):

> > After the copy, the previous installed
> > /conf/Catalina/localhost/myapp.xml will be deleted by the server
> > automatically.

You won't have this problem if you use META-INF/context.xml for
your context descriptor.

--
Hassan Schroeder ------------------------ hassan.schroeder@(protected)

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. Vielen Dank.

This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee, you should not disseminate, copy, or take any action in reliance on it. If you have received this message in error, please immediately notify the sender of this message and delete this message and any attachment. Thank you.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.