Red Hat Bugzilla – Bug 1000938
Low timout for removing queues/topics from EAP 6 server via JON
Last modified: 2014-01-02 15:43:11 EST
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 sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
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
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.
Thomas, I think you worked on those timeouts - is that covered?
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.
Fixed in master
Author: Thomas Segismont <email@example.com>
Date: Wed Aug 28 14:21:03 2013 +0200
Now using a dedicated timeout (2 minutes) instead of the default one (10 seconds)
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.