Too hard to tell why a gbean doesn't start
------------------------------------------
Key: GERONIMO-2392
URL: http://issues.apache.org/jira/browse/GERONIMO-2392
Project: Geronimo
Issue Type: Improvement
Security Level: public (Regular issues)
Reporter: David Jencks
Assigned To: David Jencks
Fix For: 1.2
I keep having trouble figuring out why my gbeans wont start. The following
helps me see what's going on. What do people think about committing this?
Index:
modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
===================================================================
---
modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
(revision 441840)
+++
modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
(working copy)
@@ -363,6 +363,9 @@
loaded.add(gbeanData.getAbstractName());
} catch (GBeanAlreadyExistsException e) {
throw new InvalidConfigException(e);
+ } catch (Throwable e) {
+ log.warn("Could not load gbean " +
gbeanData.getAbstractName(), e);
+ throw e;
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira