[infinispan-issues] [JBoss JIRA] (ISPN-1648) NotSerializableException when trying to access MBeans

Galder Zamarreño (Commented) (JIRA) jira-events at lists.jboss.org
Fri Dec 23 12:02:09 EST 2011


    [ https://issues.jboss.org/browse/ISPN-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653051#comment-12653051 ] 

Galder Zamarreño commented on ISPN-1648:
----------------------------------------

Hmmmm, how are you connecting exactly? And where is Infinispan running here? I've used JVisualVM to access Infinispan via JMX in 5.1.0.BETA2 and it worked fine...

Maybe this is related to the JMX changes Manik made for CR2?
                
> NotSerializableException when trying to access MBeans
> -----------------------------------------------------
>
>                 Key: ISPN-1648
>                 URL: https://issues.jboss.org/browse/ISPN-1648
>             Project: Infinispan
>          Issue Type: Bug
>          Components: JMX, reporting and management
>    Affects Versions: 5.1.0.CR2
>            Reporter: Michal Linhard
>            Assignee: Manik Surtani
>            Priority: Critical
>             Fix For: 5.1.0.CR3
>
>
> When I try to connect to an infinispan MBean via JMX, NotSerializableException is thrown.
> my guess is: we can't serialize inner classes like InvokableSetterBasedMBeanAttributeInfo, because they contain "hidden" link to ResourceDMBean, which is not serializable.
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/jmx/ResourceDMBean.java

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list