tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/startup Main.java
Date Sat, 02 Oct 2004 20:29:21 GMT
billbarker    2004/10/02 13:29:21

  Modified:    src/share/org/apache/tomcat/startup Main.java
  Log:
  Set the ContextCL before loading loading EmbededTomcat.
  
  EmbededTomcat will reset it, but this seems to make log4j configuration easier.
  
  Revision  Changes    Path
  1.46      +2 -1      jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/startup/Main.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- Main.java	25 Feb 2004 07:25:48 -0000	1.45
  +++ Main.java	2 Oct 2004 20:29:21 -0000	1.46
  @@ -256,6 +256,7 @@
   	    initSecurityFile();
   	    initClassLoader();
   
  +	    jdk11Compat.setContextClassLoader(commonCL);
               Class cls=commonCL.loadClass((String)tasks.get(task));
   	    
               Object proxy=cls.newInstance();
  
  
  

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