Bug 534792 (RHQ-1554)

Summary: Restarting plugin container frequently fails, throws an exception in error log.
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: Plugin ContainerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kondkar <skondkar>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2Keywords: SubBug
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1554
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-02 07:22:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 565628    

Description Corey Welton 2009-02-12 15:51:00 UTC
Repro:

1. Login; Resources > Servers > $agent > Operations > Restart Plugin Container
2. Schedule a recurring operation, every 1 minute.
3. View results

Current result:

Close Window

org.rhq.core.clientapi.agent.PluginContainerException: Failed to submit invocation request. resource=[500051], operation=[restartPluginContainer], jobId=[rhq-resource-500051--1667317633-1234452606854_=_rhq-resource-500051_=_1234452660666]
	at org.rhq.core.pc.operation.OperationManager.invokeOperation(OperationManager.java:154)
	at org.rhq.core.pc.operation.OperationManager.invokeOperation(OperationManager.java:110)
	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.enterprise.communications.command.impl.remotepojo.server.RemotePojoInvocationCommandService.execute(RemotePojoInvocationCommandService.java:184)
	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 com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
	at $Proxy1.execute(Unknown Source)
	at org.rhq.enterprise.communications.command.server.CommandProcessor.handleIncomingInvocationRequest(CommandProcessor.java:290)
	at org.rhq.enterprise.communications.command.server.CommandProcessor.invoke(CommandProcessor.java:184)
	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
Caused by: java.lang.IllegalStateException: [Warning] Timer already cancelled.
	... 26 more


Expected result:
Not sure but...

[10:42] <@ccrouch> cswiii: hmm, yeah that could be trying to submit operations too close together
[10:42] <@ccrouch> I'd raise a jira on that for record keeping purposes if nothing else




Comment 1 Red Hat Bugzilla 2009-11-10 20:35:30 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1554


Comment 2 wes hayutin 2010-02-16 16:56:42 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 17:01:56 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Corey Welton 2010-08-20 15:44:21 UTC
QA: does this still occur?

Comment 5 Sunil Kondkar 2010-08-23 09:34:19 UTC
Tested on jon-server-2.4.0.GA

scheduled 'Resources > Servers > $agent > Operations > Restart Plugin Container'  operation every 1 minute. The operation displays status as 'success' and there is no exception.

Comment 6 Heiko W. Rupp 2013-09-02 07:22:51 UTC
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.