"java.util.concurrent.TimeoutException" trying to update resource configuration via JBoss ON Remote Client
Issue
- We wrote a RemoteClient using the JBoss ON remote client API to update some of the resource properties after it is imported to the inventory but the client program gets stuck on the following remote call for exactly 10 mins each time:
configurationManager.updatePluginConfiguration(subject, serverResource.getId(), pluginConfig);
Here is my client log at different timestamps (notice the 10 mins waits between each resource update):
[Tue Jan 28 02:00:47 EST 2014] INFO: Updating jb_ir2opsui-cl01 resource properties
[Tue Jan 28 02:10:47 EST 2014] INFO: Updating jb_ir2dbot-cl02 resource properties
[Tue Jan 28 02:11:09 EST 2014] INFO: Updating edr-cl02 resource properties
[Tue Jan 28 02:21:10 EST 2014] INFO: Updating edr-idevl-cl02 resource properties
[Tue Jan 28 02:31:10 EST 2014] INFO: Updating edr-cdevl-cl02 resource properties
[Tue Jan 28 02:41:11 EST 2014] INFO: Updating edr-idevl-cl01 resource properties
[Tue Jan 28 02:51:11 EST 2014] INFO: Updating edr-cl01 resource properties
[Tue Jan 28 03:01:12 EST 2014] INFO: Updating edr-cdevl-cl01 resource properties
[Tue Jan 28 03:11:12 EST 2014] INFO: Updating tramtest-cl02 resource properties
Corresponding logs from the jon server (notice that the timestamps from my client log and jon server log match with each TimeoutException)
2014-01-28 02:10:47,530 ERROR [org.rhq.enterprise.communications.command.client.ClientCommandSenderTask] {ClientCommandSenderTask.send-failed}Failed to send command [Command: type=[remotepojo]; cmd-in-response=[false]; config=[{rhq.send-throttle=true}]; params=[{invocation=NameBasedInvocation[updatePluginConfiguration], targetInterfaceName=org.rhq.core.clientapi.agent.discovery.DiscoveryAgentService}]]. Cause: java.util.concurrent.TimeoutException:null. Cause: java.util.concurrent.TimeoutException
Environment
- Red Hat JBoss Operations Network (ON) 3.1.2
- ON Remote Client
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
