[infinispan-issues] [JBoss JIRA] (ISPN-2759) RHQ plugin + JON, problems with invoking operations on cache / cache manager

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Feb 21 06:21:56 EST 2013


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

RH Bugzilla Integration commented on ISPN-2759:
-----------------------------------------------

Tomas Sykora <tsykora at redhat.com> made a comment on [bug 904140|https://bugzilla.redhat.com/show_bug.cgi?id=904140]

Great, ER11 is ok.
I was able to stop cache, start it again and for example issue reset statistics operation too.

This was something more like "smoke test", we need to test all operations (could be time consuming because of setting proper environment - for example for X-site ops. etc.)

Setting this as VERIFIED, problem solved, thanks!
                
> RHQ plugin + JON, problems with invoking operations on cache / cache manager
> ----------------------------------------------------------------------------
>
>                 Key: ISPN-2759
>                 URL: https://issues.jboss.org/browse/ISPN-2759
>             Project: Infinispan
>          Issue Type: Bug
>          Components: JMX, reporting and management
>    Affects Versions: 5.2.0.CR3
>         Environment: Fresh installation of JON 3.1.2.GA + community RHQ plugin for library mode + community distribution server built from upstream (already containing: https://github.com/infinispan/infinispan/pull/1595). This bug was experienced before this PR already.
>            Reporter: Tomas Sykora
>            Assignee: Tristan Tarrant
>             Fix For: 5.2.0.Final
>
>
> In JON we can see changing statistics for caches without any problems. Monitoring looks to be ok. 
> Problems occurred while issuing any operation. 
> For example:
> *start cache issued on DefaultCacheManager (JON's popup exception window output):*
> java.lang.NullPointerException
> 	at org.rhq.plugins.jmx.MBeanResourceComponent.loadBean(MBeanResourceComponent.java:175)
> 	at org.rhq.plugins.jmx.MBeanResourceComponent.getEmsBean(MBeanResourceComponent.java:137)
> 	at org.rhq.plugins.jmx.MBeanResourceComponent.invokeOperation(MBeanResourceComponent.java:524)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)
> *stop cache issued on cache*
> java.lang.NullPointerException
> 	at org.infinispan.rhq.CacheComponent.invokeOperation(CacheComponent.java:190)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> *ISPN console with trace logging enabled says:*
> 2013-01-25 15:24:27,351 DEBUG [CacheImpl] (RMI TCP Connection(8)-127.0.0.1) Stopping cache ___defaultcache on null
> 2013-01-25 15:24:27,357 DEBUG [TransactionTable] (RMI TCP Connection(8)-127.0.0.1) Wait for on-going transactions to finish for 30 seconds.
> 2013-01-25 15:24:27,357 DEBUG [TransactionTable] (RMI TCP Connection(8)-127.0.0.1) All transactions terminated
> Other operations seem to be unavailable too. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list