tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Bowen <>
Subject Re: [Solved+Question]SessionListener not being invoked
Date Fri, 04 Dec 2009 04:09:50 GMT
Thanks.   This project has been sputtering along for a fair number of  
years, and my context.xml almost certainly began life inside conf/ 
server.xml.  I would be fairly confident in betting that I moved it  
out on earlier advice from you, but that I didn't clean it up then.
Well, I have now.

On Dec 3, 2009, at 11:02 PM, Caldarale, Charles R wrote:

>> From: Ken Bowen []
>> Subject: Re: [Solved+Question]SessionListener not being invoked
>> One question:  What does it mean to say "the path attribute is not
>> allowed"? (My context.xml is in META-INF).  Should I be seeing a
>> complaint when Tomcat starts the app?
> Unfortunately, Tomcat won't complain about it (although I think it  
> should).  The path attribute is only valid when the <Context>  
> element is nested inside of a <Host> element in conf/server.xml -  
> which is very strongly discouraged.  Using a path attribute in any  
> other circumstance is not permitted, but not diagnosed.  At best, it  
> will confuse anyone looking at your configuration, possibly thinking  
> that something meaningful is being done with it.
> - Chuck
> PROPRIETARY 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