You didn't mention which version of Tomcat you were running.

The thing is, in some version, conf/web.xml became a SAMPLE, not a DEFAULT.
You should not count on conf/web.xml to be used because that doesn't follow
the J2EE standard.  You MUST make a copy of the web.xml and put it into each
webapp context's WEB-INF directory.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 12:34 AM
To: [EMAIL PROTECTED]
Subject: Problem changing default web.xml : conf/web.xml is not
processed


Hi there,

I have a problem changing the web.xml in the conf dir (conf/web.xml).
I wanted to configure some central stuff there and wondered why it isn't
working.
Then I placed a wrong tag with no closing tag into the web.xml.
The sax-parser must throw an exception with this file.
But nothing happened.
I tested the same wrong tag in an webapps web.xml file. There I got the
exception.
My conclusion is now, that the default web.xml is not proccessed!

I wonder why, because the server.xml file is in the same directory.
If server.xml is found by tomcat, why not the default web.xml.

I can post a log-trace if you are intereseted, but I don't see any
informative help in it.
Be method opening the default web.xml does not log anything.

Any comments, how I can make tomcat reading and processing the default
web.xml are welcome.

Kind regards
Guido














----------------------------------------------------------------------------
-------
This message is intended for the adressee or its representative only. Any
form of unauthorized use, publication, reproduction, copying or disclosure
of the content of this e-mail is not permitted. If you are not the intended
recipient of this e-mail message and its contents, please notify the sender
immediately and delete this message and all its attachments subsequently.

Reply via email to