geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo Main.java
Date Sat, 30 Aug 2003 12:02:34 GMT
jdillon     2003/08/30 05:02:34

  Modified:    modules/core/src/java/org/apache/geronimo Main.java
  Log:
   o Install common protocol handlers package
  
  Revision  Changes    Path
  1.16      +8 -3      incubator-geronimo/modules/core/src/java/org/apache/geronimo/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/Main.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- Main.java	30 Aug 2003 09:33:33 -0000	1.15
  +++ Main.java	30 Aug 2003 12:02:34 -0000	1.16
  @@ -67,7 +67,9 @@
   import org.apache.commons.logging.LogFactory;
   import org.apache.commons.logging.impl.LogFactoryImpl;
   
  -import org.apache.geronimo.common.StopWatch; 
  +import org.apache.geronimo.common.StopWatch;
  +
  +import org.apache.geronimo.common.net.protocol.Protocols; 
   
   import org.apache.geronimo.deployment.DeploymentException;
   import org.apache.geronimo.jmx.JMXKernel;
  @@ -81,9 +83,12 @@
   public class Main implements Runnable {
       static {
           // Add our default Commons Logger that support the trace level
  -        if(System.getProperty(LogFactoryImpl.LOG_PROPERTY) == null) {
  +        if (System.getProperty(LogFactoryImpl.LOG_PROPERTY) == null) {
               System.setProperty(LogFactoryImpl.LOG_PROPERTY, "org.apache.geronimo.common.log.log4j.CachingLog4jLog");
           }
  +        
  +        // Make the common URL protocol handlers available
  +        Protocols.appendHandlerPackage("org.apache.geronimo.common.net.protocol");
       }
   
       private static final Log log = LogFactory.getLog("Geronimo");
  
  
  

Mime
View raw message