tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup DigesterFactory.java
Date Mon, 26 Jan 2004 16:07:54 GMT
jfarcand    2004/01/26 08:07:54

  Modified:    catalina/src/share/org/apache/catalina/startup
                        DigesterFactory.java
  Log:
  Add missing setUseContextClassLoader call to avoid possible classloader issue when Tomcat
is embedded
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java
  
  Index: DigesterFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/startup/DigesterFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DigesterFactory.java	20 Dec 2003 23:04:02 -0000	1.2
  +++ DigesterFactory.java	26 Jan 2004 16:07:54 -0000	1.3
  @@ -116,7 +116,8 @@
           Digester digester = new Digester();
           digester.setNamespaceAware(xmlNamespaceAware);
           digester.setValidating(xmlValidation);
  -        
  +        digester.setUseContextClassLoader(true);
  +
           String parserName = 
                   digester.getFactory().getClass().getName();
           if (parserName.indexOf("xerces")!=-1) {
  
  
  

---------------------------------------------------------------------
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