can you reproduce that problem?

I'am thinking about reporting that problem in bugzilla.
Therefore it would be nice if somebody else could confirm it.

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag
von BATCHELOR, SCOTT (CONTRACTOR)
Gesendet: Dienstag, 25. April 2006 20:12
An: Tomcat Users List
Betreff: RE: autocreate a Context Descriptor for webApps without
META-INF/context.xml

I would like to know if there is an answer to this as well.

Thanks, 



-----Original Message-----
From: Bodo Piehl [mailto:[EMAIL PROTECTED] 
Sent: Sunday, April 23, 2006 1:14 PM
To: users@tomcat.apache.org
Subject: autocreate a Context Descriptor for webApps without
META-INF/context.xml

I read in the documentation in chapter "A word on Contexts" the text
below.

If I put a war-file (which doesn't contain a META-INF/context.xml) into
the webapps-dir, the war-file is extracted and the webApp deployed, e.g.
on startup.

But afterwards the Context Descriptor isn't autogenerated and placed in
  $CATALINA_HOME/conf/[enginename]/[hostname]/
as expected.

As a result my webApp is deployed every startup again.

Do I need to set a flag to turn on that behavior in Tomcat?

I use Tomcat 5.5.16.
Can anybody reproduce my problem?

thanks

Bodo

----
Context Descriptors not only help Tomcat to know how to configure
Contexts but other tools such as the Tomcat Manager and TDC often use
these Context Descriptors to perform their roles properly.

The locations for Context Descriptors are;

   1. $CATALINA_HOME/conf/[enginename]/[hostname]/context.xml
   2. $CATALINA_HOME/webapps/[webappname]/META-INF/context.xml

If a Context Descriptor is not provided for a Context, Tomcat
automatically creates one and places it in (1) with a filename of
[webappname].xml although if manually created, the filename need not
match the web application name as Tomcat is concerned only with the
Context configuration contained within the Context Descriptor file(s).
----
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig.
Jetzt gleich testen! http://f.web.de/?mc=021192


---------------------------------------------------------------------
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]


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

Reply via email to