Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1095294

Summary: Calling :count-messages on non-existent subscription hangs CLI
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Miroslav Novak <mnovak>
Component: JMSAssignee: Jeff Mesnil <jmesnil>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: medium Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.3.0CC: brian.stansberry, kkhan, msvehla
Target Milestone: ER5   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1095300 1374185 (view as bug list) Environment:
Last Closed: 2014-08-06 14:38:40 UTC Type: Bug
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: 1374185    
Attachments:
Description Flags
threadump-server.txt
none
threadump-cli.txt none

Description Miroslav Novak 2014-05-07 12:23:20 UTC
CLI hangs when calling :count-messages on non-existent subscription. 

To reproducer the issue start server in standalone-full-ha.xml profile and in CLI run:
/subsystem=messaging/hornetq-server=default/runtime-queue=clientId0.subscriberName0:count-messages


Thread dumps attached.

Comment 1 Miroslav Novak 2014-05-07 12:23:59 UTC
Created attachment 893238 [details]
threadump-server.txt

Comment 2 Miroslav Novak 2014-05-07 12:24:41 UTC
Created attachment 893239 [details]
threadump-cli.txt

Comment 3 Jeff Mesnil 2014-05-07 14:57:34 UTC
fixed in upstream by WFLY-2511 which removes the infinite loop that's hanging the CLI

Comment 5 Martin Svehla 2014-07-03 10:15:36 UTC
Verified with EAP 6.3.0.ER8