tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hans.ma...@magnasteyr.com>
Subject AW: How to avoide delete context.xml - 6.0.14
Date Tue, 07 Aug 2007 16:45:05 GMT
Hi Hassan,

you mean my /webbappname/META-INF/context.xml

shuould look like:

<?xml version="1.0" encoding="UTF-8"?>
<Context>
...

The server appBase within the <host> is set to webapps.

The Catalina/localhost/webappname.xml (xjosf.xml) is the same as 
in META-INF. The server puts it into automatically.

Unfortunately I'm stopping and restarting the server again and again.

Regards, hans

-----Urspr√ľngliche Nachricht-----
Von: Hassan Schroeder [mailto:hassan.schroeder@gmail.com]
Gesendet: Dienstag, 07. August 2007 16:59
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/6/07, hans.mader@magnasteyr.com <hans.mader@magnasteyr.com> wrote:

> I am wondering about the
> <
> Missing application web.xml, ...

> I played with the context's docBase attribute, but with no success.
> (this context.xml placed in META-INF contains no docBase)

It shouldn't, nor should you have the path attribute -- remove it.

> <?xml version="1.0" encoding="UTF-8"?>
> <Context path="/xjosf">

> FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14\conf Catalina/localhost/context.xml.default

? What's your appBase for this Host set to?

And what is in Catalina/localhost/context.xml? For the path you
apparently want you should have Catalina/localhost/xjosf.xml.

In any case, before proceeding, I would stop Tomcat, remove the
relevant file from Catalina/localhost/, delete the WAR, restart and
redeploy.

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org






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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message