GitHub user drigodwin opened a pull request:

    https://github.com/apache/brooklyn-server/pull/495

    Fix JMX Karaf import

    JMX in a Tomcat deployment was failing in Karaf with the exception 
`java.lang.RuntimeException: java.io.IOException: 
java.lang.ClassNotFoundException: 
javax.management.openmbean.CompositeDataSupport`. This was because of a missing 
dependency from the wrap of 
`org.glassfish.external/opendmk_jmxremote_optional_jar`. 
    
    Unfortunately adding an `$Import-Package=javax.management.openmbean` here 
would exclude the other files included from the jar so `$DynamicImport-Package` 
is used here.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/drigodwin/brooklyn-server jmx-import

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/495.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #495
    
----
commit dcd61fe6176438bb8ff877cd39203344784f287c
Author: Duncan Godwin <[email protected]>
Date:   2016-12-16T19:16:57Z

    Fix JMX Karaf import

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to