Bug 1000938 - Low timout for removing queues/topics from EAP 6 server via JON
Summary: Low timout for removing queues/topics from EAP 6 server via JON
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 6
Version: JON 3.1.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: JON 3.2.0
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-26 07:23 UTC by Radim Hatlapatka
Modified: 2014-01-02 20:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-02 20:43:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Radim Hatlapatka 2013-08-26 07:23:03 UTC
Description of problem:

Occasionally there occurs read timed out error when trying to remove queue from EAP 6 server via JON.

java.lang.IllegalArgumentException: Delete for [subsystem=messaging,hornetq-server=default,jms-queue=test-queue] failed: Read timed out, rolled-back=false, rolled-back=false
	at org.rhq.modules.plugins.jbossas7.BaseComponent.deleteResource(BaseComponent.java:316)
	at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

For me it seems as issue with timeout


Version-Release number of selected component (if applicable):
Detected with JON 3.1.2 including EAP Plugin Pack Hotfix-03 for JBoss ON 3.1.2 with EAP 6.1.1.ER7

Steps to Reproduce:
1. import EAP 6.1 in standalone mode
2. create queue for test purposes
3. remove the queue


Additional Info:
For me it mainly occurs on Solaris but sometimes even on RHEL. It doesn't occur very often something like once per 10 or 20 tries.

Comment 1 Heiko W. Rupp 2013-08-28 10:01:37 UTC
Thomas, I think you worked on those timeouts - is that covered?

Comment 2 Thomas Segismont 2013-08-28 10:15:47 UTC
Are you referring to the work on interruptible operations? If so then no, it's not covered.

The problem here is that the delete operation takes more than 10 seconds and httpclient in ASConnection hits the 10 seconds socket read timeout.

In similar situations in the past, we have just used "Result execute(Operation op, int timeoutSec)" instead of "Result execute(Operation op)" and its default 10 seconds timeout.

Comment 3 Thomas Segismont 2013-08-28 12:30:47 UTC
Fixed in master

commit 60c22abcedf5df9208f66408371339eaa56f1705
Author: Thomas Segismont <tsegismo>
Date:   Wed Aug 28 14:21:03 2013 +0200

Now using a dedicated timeout (2 minutes) instead of the default one (10 seconds)

Comment 4 Simeon Pinder 2013-12-13 16:13:49 UTC
Moving this to ON_QA, as discussed in triage call (myarboro,loleary,spinder). This is already in the GA tag but somehow we didn't set this to ON_QA.


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