geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo Geronimo.java
Date Wed, 28 Jan 2004 04:27:28 GMT
dims        2004/01/27 20:27:28

  Modified:    modules/kernel/src/java/org/apache/geronimo Geronimo.java
  Log:
  with this fix, jetty stuff is initialized, but getting FileNotFoundException for users.properties.
  
  Revision  Changes    Path
  1.3       +3 -1      incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/Geronimo.java
  
  Index: Geronimo.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/Geronimo.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Geronimo.java	27 Jan 2004 19:33:40 -0000	1.2
  +++ Geronimo.java	28 Jan 2004 04:27:28 -0000	1.3
  @@ -59,6 +59,7 @@
   import org.apache.geronimo.kernel.Kernel;
   import org.apache.geronimo.kernel.config.LocalConfigStore;
   
  +import javax.management.ObjectName;
   import java.io.File;
   import java.lang.reflect.Method;
   import java.net.URI;
  @@ -148,6 +149,7 @@
   
       public static void loadAndWait(String domain, String storeDirName, String configIDString)
throws Exception {
           Kernel kernel = load(domain, storeDirName, configIDString);
  +        kernel.getMBeanServer().invoke(new ObjectName("geronimo.config:name=" + ObjectName.quote(configIDString)),
"startRecursive", null, null);
           while (kernel.isRunning()) {
               try {
                   synchronized (kernel) {
  
  
  

Mime
View raw message