[infinispan-issues] [JBoss JIRA] (ISPN-7128) JMX attribute configurationAsProperties cannot be read on some caches
Jakub Markos (JIRA)
issues at jboss.org
Wed Oct 19 09:33:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-7128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakub Markos updated ISPN-7128:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4624
> JMX attribute configurationAsProperties cannot be read on some caches
> ---------------------------------------------------------------------
>
> Key: ISPN-7128
> URL: https://issues.jboss.org/browse/ISPN-7128
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.0.0.Alpha4
> Reporter: Jakub Markos
> Assignee: Jakub Markos
> Priority: Minor
>
> When running the server with the clustered-indexing.xml example configuration and accessing the configurationAsProperties jmx attribute of some caches (like ___script_cache or ___protobuf_metadata), the following is logged (and the attribute value is just 'Unavailable'):
> {code}
> 14:26:40,502 DEBUG [org.infinispan.jmx.ResourceDMBean] (RMI TCP Connection(3)-10.40.5.166) Exception while reading value of attribute configurationAsProperties: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.jmx.ResourceDMBean$InvokableSetterBasedMBeanAttributeInfo.invoke(ResourceDMBean.java:395)
> at org.infinispan.jmx.ResourceDMBean.getNamedAttribute(ResourceDMBean.java:299)
> at org.infinispan.jmx.ResourceDMBean.getAttribute(ResourceDMBean.java:178)
> at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
> at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.getAttribute(PluggableMBeanServerImpl.java:1424)
> at org.jboss.as.jmx.PluggableMBeanServerImpl.getAttribute(PluggableMBeanServerImpl.java:388)
> at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1445)
> at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
> at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
> at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
> at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:639)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
> at sun.rmi.transport.Transport$1.run(Transport.java:200)
> at sun.rmi.transport.Transport$1.run(Transport.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:124)
> at org.infinispan.configuration.format.PropertyFormatter.format(PropertyFormatter.java:130)
> at org.infinispan.cache.impl.CacheImpl.getConfigurationAsProperties(CacheImpl.java:1668)
> ... 33 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:124)
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:100)
> ... 35 more
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:124)
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:100)
> ... 36 more
> Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:124)
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:109)
> ... 37 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.infinispan.configuration.format.PropertyFormatter.reflect(PropertyFormatter.java:100)
> ... 38 more
> Caused by: java.lang.ClassCastException: org.infinispan.scripting.impl.ScriptingInterceptor cannot be cast to org.infinispan.interceptors.base.CommandInterceptor
> at org.infinispan.configuration.cache.InterceptorConfiguration.interceptor(InterceptorConfiguration.java:81)
> ... 43 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list