geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r579047 - /geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
Date Tue, 25 Sep 2007 04:07:35 GMT
Author: djencks
Date: Mon Sep 24 21:07:34 2007
New Revision: 579047

URL: http://svn.apache.org/viewvc?rev=579047&view=rev
Log:
make it easier to understand where a NCDFE is happening

Modified:
    geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java

Modified: geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java?rev=579047&r1=579046&r2=579047&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
(original)
+++ geronimo/server/trunk/modules/geronimo-system/src/main/java/org/apache/geronimo/system/configuration/ConfigurationOverride.java
Mon Sep 24 21:07:34 2007
@@ -81,7 +81,12 @@
         NodeList gbeans = element.getElementsByTagName("gbean");
         for (int g = 0; g < gbeans.getLength(); g++) {
             Element gbeanElement = (Element) gbeans.item(g);
-            GBeanOverride gbean = new GBeanOverride(gbeanElement, expressionParser);
+            GBeanOverride gbean = null;
+            try {
+                gbean = new GBeanOverride(gbeanElement, expressionParser);
+            } catch (NoClassDefFoundError e) {
+                throw new RuntimeException("NCDFE: geronimo-system classloader: " + getClass().getClassLoader(),
e);
+            }
             addGBean(gbean);
         }
     }



Mime
View raw message