Update of /var/cvs/src/org/mmbase/module/core
In directory james.mmbase.org:/tmp/cvs-serv29723

Modified Files:
      Tag: MMBase-1_8
        MMBase.java 
Log Message:
made machinename static to have it available in MMBaseContext, so that crontab 
from head can compile


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/module/core


Index: MMBase.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/module/core/MMBase.java,v
retrieving revision 1.200.2.13
retrieving revision 1.200.2.14
diff -u -b -r1.200.2.13 -r1.200.2.14
--- MMBase.java 16 Apr 2008 12:20:29 -0000      1.200.2.13
+++ MMBase.java 7 Aug 2008 08:53:47 -0000       1.200.2.14
@@ -46,7 +46,7 @@
  * @author Pierre van Rooden
  * @author Johannes Verelst
  * @author Ernst Bunders
- * @version $Id: MMBase.java,v 1.200.2.13 2008/04/16 12:20:29 michiel Exp $
+ * @version $Id: MMBase.java,v 1.200.2.14 2008/08/07 08:53:47 michiel Exp $
  */
 public class MMBase extends ProcessorModule {
 
@@ -150,7 +150,7 @@
      * for each node in your cluster. This is not the machines dns name
      * (as defined by host as name or ip number).
      */
-    private String machineName = "unknown";
+    static String machineName = "unknown";
 
     /**
      * The host or ip number of the machine this module is
@@ -1135,7 +1135,6 @@
             }
             return loadBuilderFromXML(builderName, path);
         } else {
-            log.error("Cannot find specified builder " + builderName);
             throw new BuilderConfigurationException("Cannot find specified 
builder " + builderName);
         }
     }
@@ -1239,9 +1238,13 @@
                     }
                 }
             }
+        } catch (BuilderConfigurationException bcfe) {
+            loading.remove(builderName);
+            log.error("Builder configuration exception During reading of '" + 
builderName + "': " + bcfe.getMessage());
+            return null;
         } catch (Throwable e) { // what kind of exceptions are these?
             loading.remove(builderName);
-            log.error(Logging.stackTrace(e));
+            log.error(e.getMessage(), e);
             return null;
         }
         loading.remove(builderName);
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to