-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 André,
On 7/8/2009 7:42 AM, André Warnier wrote: > - Bitterly complain to the supplier of that app. +1 > - in the meantime, run this app in a separate Tomcat (and JVM) instance. +2 We run all of our (4) webapps in separate JVMs, mostly because we're paranoid that one of them will OOME and bring down everything: we'd rather limp-along with 3/4 of our services running properly than come to a grinding halt until a customer bothers to complain and someone gets paged. This configuration also has the added benefit of being able to support weird things like some retarded webapp forcing the whole server to use a particular library. This configuration has the downside of requiring a front-end server (we use Apache httpd) to play traffic cop. > I don't believe there's much else you can do, since those properties are > really JVM-global. I had the same case a while ago, with some webapp > setting the language properties. Depending of the order in which > webapps were being loaded and started, my whole Tomcat would end up > speaking in (different) tongues... The only thing I can think of is to create a "fix the JAXP system property" context listener and install it on each of your webapps: all it does is remove that system property and allow the default to take effect. Your rogue webapp, in whatever order it will execute, will essentially temporarily set the system property to an appropriate value for itself and then use it. This may not work: after the JVM initializes the system-global JAXP handlers, it might be set for the life of the JVM. You may have to do separate deployments. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpX6m8ACgkQ9CaO5/Lv0PCdngCeJnvgPXzgz67qFaBzLiyqZFwQ x8wAoK/QLWhV48dmQgl/6A8yq2RHce15 =QiuA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org