brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <>
Subject [GitHub] incubator-brooklyn pull request: OSGi class loading fixes
Date Fri, 25 Jul 2014 18:56:32 GMT
Github user ahgittin commented on a diff in the pull request:
    --- Diff: core/src/main/java/brooklyn/management/ha/ ---
    @@ -120,6 +131,11 @@ public void registerBundle(String bundleUrl) {
                 } catch (Exception e) {
                     bundleProblems.put(bundleUrlOrNameVersionString, e);
    +                Throwable cause = e.getCause();
    +                if (cause != null && cause.getMessage().contains("Unresolved
constraint in bundle")) {
    +                    log.warn("Unresolved constraint.", e);
    --- End diff --
    stack trace probably not helpful, so I would say
        log.warn("Unresolved constraint resolving OSGi bundle "+bundleUrlOrNameVersionString+"
to load "+type+": "+e);
        if (log.isDebugEnabled()) log.debug("Trace for OSGi resolution failure", e);

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message