You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <de...@geronimo.apache.org> on 2006/09/09 22:00:23 UTC

[jira] Updated: (GERONIMO-2392) Too hard to tell why a gbean doesn't start

     [ http://issues.apache.org/jira/browse/GERONIMO-2392?page=all ]

David Jencks updated GERONIMO-2392:
-----------------------------------

    Patch Info: [Patch Available]

> 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