tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Thielen" <>
Subject RE: Can't change servlet path
Date Wed, 14 Sep 2005 01:09:29 GMT

I'm sorry - I saw all the notes about don't put anything in server.xml and
so skipped over that part.

Out of curiosity, three questions:

1) Why is this forced in server.xml when otherwise we are supposed to put
everything in our META-INF?

2) In this case, is the context.xml in my META-INF used also? In other
words, should I put the JDBC <Resource> node in the <Context> node in
server.xml or in my context.xml?

3) While /abc now works, /store still does too. Is this by design?

Thanks again - dave

-----Original Message-----
From: Caldarale, Charles R [] 
Sent: Tuesday, September 13, 2005 5:42 PM
To: Tomcat Users List
Subject: RE: Can't change servlet path

> From: David Thielen [] 
> Subject: RE: Can't change servlet path
> 3) Tomcat 5.5\webapps\store\META-INF\context.xml is:
> 	<Context path="/abc" docBase="store" debug="5" reloadable="true"
> crossContext="true">
> 	</Context>
> What am I missing????

To repeat (3rd time today):

> If you are using 5.5, also note the following for the path attribute:
> "The value of this field must not be set except when 
> statically defining a Context in server.xml, as it will
> be infered [sic] from the filenames used for either the
> .xml context file or the docBase."

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message