tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardHostValve.java
Date Fri, 01 Sep 2000 21:12:05 GMT
craigmcc    00/09/01 14:12:04

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardHostValve.java
  Log:
  Set the context class loader for a request processing thread as soon as the
  Context to be utilized has been selected (and therefore we know which class
  loader to assign).
  
  Revision  Changes    Path
  1.2       +6 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHostValve.java
  
  Index: StandardHostValve.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHostValve.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StandardHostValve.java	2000/08/11 23:40:45	1.1
  +++ StandardHostValve.java	2000/09/01 21:12:02	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHostValve.java,v
1.1 2000/08/11 23:40:45 craigmcc Exp $
  - * $Revision: 1.1 $
  - * $Date: 2000/08/11 23:40:45 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardHostValve.java,v
1.2 2000/09/01 21:12:02 craigmcc Exp $
  + * $Revision: 1.2 $
  + * $Date: 2000/09/01 21:12:02 $
    *
    * ====================================================================
    *
  @@ -85,7 +85,7 @@
    * when processing HTTP requests.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.1 $ $Date: 2000/08/11 23:40:45 $
  + * @version $Revision: 1.2 $ $Date: 2000/09/01 21:12:02 $
    */
   
   final class StandardHostValve
  @@ -136,6 +136,8 @@
   	}
   
   	// Ask this Context to process this request
  +        Thread.currentThread().setContextClassLoader
  +            (context.getLoader().getClassLoader());
   	context.invoke(request, response);
   
       }
  
  
  

Mime
View raw message