[ 
https://issues.apache.org/jira/browse/SLING-3902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117172#comment-14117172
 ] 

Chetan Mehrotra commented on SLING-3902:
----------------------------------------

I validated this on a system where Aries JMX support was at version 1.0.0

{code:xml}
        <bundle>
            <groupId>org.apache.aries.jmx</groupId>
            <artifactId>org.apache.aries.jmx.api</artifactId>
            <version>1.1.0</version>
        </bundle>
        <bundle>
            <groupId>org.apache.aries.jmx</groupId>
            <artifactId>org.apache.aries.jmx.core</artifactId>
            <version>1.1.1</version>
        </bundle>
        <bundle>
            <groupId>org.apache.aries.jmx</groupId>
            <artifactId>org.apache.aries.jmx.whiteboard</artifactId>
            <version>1.0.0</version>
        </bundle>
{code}

Current jmx support used in Sling launchpad is bit old at 0.0.3

{code:xml}
        <bundle>
415                 <groupId>org.apache.aries.jmx</groupId>
416                 <artifactId>org.apache.aries.jmx.api</artifactId>
417                 <version>0.3</version>
418             </bundle>
419             <bundle>
420                 <groupId>org.apache.aries</groupId>
421                 <artifactId>org.apache.aries.util</artifactId>
422                 <version>0.3</version>
423             </bundle>
424             <bundle>
425                 <groupId>org.apache.aries.jmx</groupId>
426                 <artifactId>org.apache.aries.jmx.core</artifactId>
427                 <version>0.3</version>
428             </bundle>
429             <bundle>
430                 <groupId>org.apache.aries.jmx</groupId>
431                 <artifactId>org.apache.aries.jmx.whiteboard</artifactId>
432                 <version>0.3</version>
433             </bundle>
{code}

Would try to reproduce it at my end and see if the issue goes away with latest 
build of aries or not

> 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
>            Assignee: Chetan Mehrotra
>            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)

Reply via email to