On 14/12/2009 14:56, Caldarale, Charles R wrote:
>> From: Andrew Harvey [mailto:hemispheric-ve...@hotmail.co.uk]
>> Subject: Why does only one server.xml <Context causing failure
>>
>> The advised server.xml line
>> <Context distributable="true" > </Context>
>> is causing the following fatal server errors
> 
> If you blindly threw the above line into server.xml, I'm surprised Tomcat 
> started at all, since it's a completely invalid use of <Context>.  If you 
> added the distributable attribute to the global <Context> in 
> conf/context.xml, you will also have problems, since few if any of the 
> webapps that come with Tomcat are designed to function in a clustered 
> environment.
> 
> You need to add the distributable attribute to the <Context> elements of 
> *just* the webapps that are to be used in a clustered fashion; clearly, 
> servlets-examples isn't one of those.

Whilst setting this on a Context element should work, is there any
reason you are setting this in a web.xml file where is is normally set?

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to