tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader StandardLoader.java
Date Thu, 31 May 2001 22:10:47 GMT
craigmcc    01/05/31 15:10:47

  Modified:    catalina/src/share/org/apache/catalina/loader
                        StandardLoader.java
  Log:
  Trickle down a non-zero debug setting to the web app class loader
  (instance of StandardClassLoader) that we create.  This will cause
  voluminous output to the standard output file (by default
  $CATALINA_HOME/logs/catalina.log) of the activities of the web app's class
  loader.  This can be very useful in tracking down issues related to class
  reloading.
  
  To enable the debugging, add a <Loader> element like this in
  conf/server.xml:
  
      <Context path="...">
        <Loader debug="99"/>
      </Context>
  
  Revision  Changes    Path
  1.26      +5 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/StandardLoader.java
  
  Index: StandardLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/StandardLoader.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- StandardLoader.java	2001/05/31 03:27:57	1.25
  +++ StandardLoader.java	2001/05/31 22:10:45	1.26
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/StandardLoader.java,v
1.25 2001/05/31 03:27:57 remm Exp $
  - * $Revision: 1.25 $
  - * $Date: 2001/05/31 03:27:57 $
  + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/loader/StandardLoader.java,v
1.26 2001/05/31 22:10:45 craigmcc Exp $
  + * $Revision: 1.26 $
  + * $Date: 2001/05/31 22:10:45 $
    *
    * ====================================================================
    *
  @@ -116,7 +116,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.25 $ $Date: 2001/05/31 03:27:57 $
  + * @version $Revision: 1.26 $ $Date: 2001/05/31 22:10:45 $
    */
   
   public final class StandardLoader
  @@ -609,6 +609,7 @@
   	        classLoader = new StandardClassLoader();
   	    else
   	        classLoader = new StandardClassLoader(parentClassLoader);
  +            ((StandardClassLoader) classLoader).setDebug(this.debug);
   	    for (int i = 0; i < repositories.length; i++)
   		classLoader.addRepository(repositories[i]);
               ((StandardClassLoader) classLoader).setDelegate(this.delegate);
  
  
  

Mime
View raw message