Hi Hassan, I did exactly that way you described to me, but the 2nd deployment still dosn't work properly.
Even a server restart does not make the context working again!!!! The only way that works (not always) is to delete the WAR file manually, wait until the webapp is undeployed and then place the war file again. I used a new Tomcat installation and a META-INF/context.xml as here: <?xml version="1.0" encoding="UTF-8"?> <Context> .. </Context> What do you mean? Regards, Hans 1st deployment: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 08.08.2007 07:12:31 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive xjosf.war 08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig init FEIN: ContextConfig: Initializing 08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp conf/context.xml 08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Successfully processed context [/xjosf] configuration file C:\tomcat-6.0.14tmp conf/context.xml 08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf Catalina/localhost/context.xml.default 08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null 08.08.2007 07:12:31 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Successfully processed context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null 08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start FEIN: ContextConfig: Processing START 08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig processDefaultWebConfig FEIN: Processing context [/xjosf] web configuration resource file://C:\tomcat-6.0.14tmp\conf\web.xml 08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig applicationWebConfig FEIN: Parsing application web.xml file at jndi:/localhost/xjosf/WEB-INF/web.xml 08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start FEIN: Pipeline Configuration: 08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start FEIN: org.apache.catalina.core.StandardContextValve/1.0 08.08.2007 07:12:36 org.apache.catalina.startup.ContextConfig start FEIN: ====================== 2nd deployment: ----------------------------------------------------------------------------------------------------- INFO: Undeploying context [/xjosf] com.magnasteyr.josf.InitLog4JPlugin ... try to clean up FileHandles for context [XJOSF] com.magnasteyr.josf.InitLog4JPlugin ... Clean up FileHandles finished for context [XJOSF] 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig stop FEIN: ContextConfig: Processing STOP 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig destroy FEIN: Cannot find message associated with key contextConfig.destroy 08.08.2007 07:13:48 org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive xjosf.war 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig init FEIN: ContextConfig: Initializing 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp conf/context.xml 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Successfully processed context [/xjosf] configuration file C:\tomcat-6.0.14tmp conf/context.xml 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf Catalina/localhost/context.xml.default 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Processing context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null 08.08.2007 07:13:48 org.apache.catalina.startup.ContextConfig processContextConfig FEIN: Successfully processed context [/xjosf] configuration file C:\tomcat-6.0.14tmp\conf\Catalina\localhost\xjosf.xml null 08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig start FEIN: ContextConfig: Processing START 08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig processDefaultWebConfig FEIN: Processing context [/xjosf] web configuration resource file://C:\tomcat-6.0.14tmp\conf\web.xml 08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig applicationWebConfig FEIN: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xjosf] 08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig start FEIN: Pipeline Configuration: 08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig start FEIN: org.apache.catalina.core.StandardContextValve/1.0 08.08.2007 07:13:49 org.apache.catalina.startup.ContextConfig start FEIN: ====================== -----Ursprüngliche Nachricht----- Von: Hassan Schroeder [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 07. August 2007 21:36 An: Tomcat Users List Betreff: Re: How to avoide delete context.xml - 6.0.14 On 8/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > you mean my /webbappname/META-INF/context.xml > > shuould look like: > > <Context> Yep. Given the odd log entries, if it were me I'd do a clean install of Tomcat, and then drop your WAR in with proper META-INF/context.xml and see what happens. There's obviously a path discrepancy if the webapp's web.xml can't be located... -- Hassan Schroeder ------------------------ [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL 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@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]