tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: EL system properties...possible to override per context?
Date Mon, 04 Jul 2011 20:04:05 GMT
On 04/07/2011 20:46, Dan Checkoway wrote:
> I have two webapps that need to run under the same instance of tomcat.  One
> needs COERCE_TO_ZERO=true, and the other needs COERCE_TO_ZERO=false.  By the
> looks of it...
> ...I can only pick one behavior per tomcat instance.  Is there any way this
> behavior could be controlled or overridden at the Context level instead of
> system-wide?

Short answer: no.

Changing the source code to support this might be possible but given
where the configuration value would be used and where it would be set
there isn't an API available to pass the setting. That is going to make
things very tricky if not impossible. If the code to do this is as ugly
as I think it will be then the patch is likely to be vetoed anyway.

Given that the app that requires COERCE_TO_ZERO=false is not
specification compliant, does that give you any leverage to get the
developers to fix their buggy code?

I suspect the immediate answer is to run two Tomcat instances.


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

View raw message