tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: tomcat 5.5.4 does not start when a single webapp fails
Date Mon, 01 Nov 2004 14:05:28 GMT
Martin Grotzke wrote:

>The Filter includes one statement:
>System.setProperty( "javax.xml.parsers.DocumentBuilderFactory",
>"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" );
>
>the webapp contains xerces-1.4.4 in WEB-INF/lib, this jar includes
>org/apache/xerces/jaxp/DocumentBuilderFactoryImpl.class.
>
>but the part that's not a tomcat-"internals" issue does not have to be
>discussed here, probably the tomcat-user-list is a better place for
>this...
>  
>
Without a security manager, any application can set system properties, 
which are global. So here the JAXP settings will be changed for the 
whole system, which will produce random results (since only your webapp 
has visibility on the Xerces class) :(

Rémy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message