Author: michiel
Date: 2010-07-29 11:57:02 +0200 (Thu, 29 Jul 2010)
New Revision: 42993

Modified:
   mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/Module.java
Log:
made start up a bit more robust

Modified: 
mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/Module.java
===================================================================
--- mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/Module.java 
2010-07-26 11:54:37 UTC (rev 42992)
+++ mmbase/branches/MMBase-1_9/core/src/main/java/org/mmbase/module/Module.java 
2010-07-29 09:57:02 UTC (rev 42993)
@@ -432,6 +432,10 @@
                     mod.startModule();
                 } catch (Exception f) {
                     log.error("Exception in startModule of module '" + mod + 
"' ! " + f.getMessage(), f);
+                } catch (Error e) {
+                    // catching errors is perhaps a bit evil, but  e.g. we 
don't NoClassDefErrors in certain
+                    // modules to fail the complete bootstrap
+                    log.fatal("Error in startModule of module '" + mod + "' ! 
" + e.getMessage(), e);
                 }
             }
         }

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to