Bertrand Delacretaz created SLING-3902:
------------------------------------------
Summary: InstallerMBean registration fails
Key: SLING-3902
URL: https://issues.apache.org/jira/browse/SLING-3902
Project: Sling
Issue Type: Bug
Components: Installer
Affects Versions: Installer Core 3.5.4
Environment: macosx 10.9.4, java version "1.7.0_45"
Reporter: Bertrand Delacretaz
Priority: Minor
Steps to reproduce:
* Build and start launchpad/builder standalone jar (svn revision 1621361),
error.log shows below ERROR
* Remove the org.apache.sling.installer.core bundle and reinstall V3.5.4 of the
same bundle (to verify if 3.5.4 also has the issue)
* Log shows the below ERROR
So the issue is present in both 3.5.4 and trunk.
The ERROR is
{code}
(javax.management.NotCompliantMBeanException: Class
org.apache.sling.installer.core.impl.InstallerMBeanImpl is not a JMX compliant
Standard MBean) nor the MXBean conventions
(javax.management.NotCompliantMBeanException:
org.apache.sling.installer.core.impl.InstallerMBeanImpl: Class
org.apache.sling.installer.core.impl.InstallerMBeanImpl is not a JMX compliant
MXBean)
at
com.sun.jmx.mbeanserver.Introspector.checkCompliance(Introspector.java:163)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:305)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:492)
at
org.apache.aries.jmx.whiteboard.MBeanHolder.register(MBeanHolder.java:56)
at
org.apache.aries.jmx.whiteboard.JmxWhiteboardSupport.registerMBean(JmxWhiteboardSupport.java:84)
...
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)