https://bz.apache.org/bugzilla/show_bug.cgi?id=68909

--- Comment #4 from Konstantin Kolinko <knst.koli...@gmail.com> ---
(In reply to Chris from comment #2)
> 
> System.setProperty(javax.xml.stream.XMLInputFactory.class.getName(),
> WstxInputFactory.class.getName());
> 

The above line of code affects the whole JVM, not just your web application,
breaking Tomcat and any other web applications that may be deployed in
parallel.

A web application by design is not allowed to change System properties.


There are proper ways to reconfigure your environment, if you are really
re-configuring your environment. (The conf/catalina.properties file and placing
the shared classes into the lib/ directory, or any other directory specified
via the "common.loader" property).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to