You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2003/10/02 10:29:50 UTC

cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardHostValve.java

remm        2003/10/02 01:29:50

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardHostValve.java
  Log:
  - Reset the context CL after the end of the request processing. This could
    fix bug 22701 for TC 4.1.
  - Note: I'm not doing it in a finally, since uncaught exceptions here are
    a critical error.
  
  Revision  Changes    Path
  1.7       +7 -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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StandardHostValve.java	4 Jan 2002 16:33:40 -0000	1.6
  +++ StandardHostValve.java	2 Oct 2003 08:29:50 -0000	1.7
  @@ -179,6 +179,9 @@
           // Ask this Context to process this request
           context.invoke(request, response);
   
  +        Thread.currentThread().setContextClassLoader
  +            (StandardHostValve.class.getClassLoader());
  +
       }
   
   }
  
  
  

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