larryi      2002/09/24 21:31:49

  Modified:    src/share/org/apache/tomcat/modules/config
                        TrustedLoader.java
  Log:
  LoaderInterceptor11 now requires the "org.apache.tomcat.classloader"
  attribute to be absent before a new classloader is created in its
  contextInit() method.  Thus, we need to remove this attribute here.
  
  Revision  Changes    Path
  1.6       +1 -0      
jakarta-tomcat/src/share/org/apache/tomcat/modules/config/TrustedLoader.java
  
  Index: TrustedLoader.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/config/TrustedLoader.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TrustedLoader.java        11 Mar 2002 11:40:05 -0000      1.5
  +++ TrustedLoader.java        25 Sep 2002 04:31:49 -0000      1.6
  @@ -151,6 +151,7 @@
            }
            cm.setNote(  "trustedLoader.currentContext", null );
            context.setClassLoader( null );
  +            context.removeAttribute("org.apache.tomcat.classloader");
        }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to