costin 01/07/15 18:09:08
Modified: src/share/org/apache/tomcat/startup Main.java
Log:
Make sure the context class loader is set ( if 1.2 available )
Revision Changes Path
1.36 +3 -2 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.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- Main.java 2001/06/13 21:28:28 1.35
+++ Main.java 2001/07/16 01:09:07 1.36
@@ -1,4 +1,4 @@
-/* $Id: Main.java,v 1.35 2001/06/13 21:28:28 mmanders Exp $
+/* $Id: Main.java,v 1.36 2001/07/16 01:09:07 costin Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
@@ -109,7 +109,7 @@
@author Costin Manolache
@author Ignacio J. Ortega
@author Mel Martinez [EMAIL PROTECTED]
- @version $Revision: 1.35 $ $Date: 2001/06/13 21:28:28 $
+ @version $Revision: 1.36 $ $Date: 2001/07/16 01:09:07 $
*/
public class Main{
@@ -274,6 +274,7 @@
ClassLoader serverCl=
jdk11Compat.newClassLoaderInstance(serverClassPath ,
commonCl);
+ jdk11Compat.setContextClassLoader( serverCl );
// Create the webapps class loader --------------------
Vector appsJars = new Vector();