Bug 534792 (RHQ-1554) - Restarting plugin container frequently fails, throws an exception in error log.
Summary: Restarting plugin container frequently fails, throws an exception in error log.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-1554
Product: RHQ Project
Classification: Other
Component: Plugin Container
Version: 1.2
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Sunil Kondkar
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2009-02-12 15:51 UTC by Corey Welton
Modified: 2013-09-02 07:22 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-02 07:22:51 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.