Bug 1095294 - Calling :count-messages on non-existent subscription hangs CLI
Summary: Calling :count-messages on non-existent subscription hangs CLI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: JMS
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER5
: EAP 6.3.0
Assignee: Jeff Mesnil
QA Contact: Miroslav Novak
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: 1374185
TreeView+ depends on / blocked
 
Reported: 2014-05-07 12:23 UTC by Miroslav Novak
Modified: 2016-09-08 08:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1095300 1374185 (view as bug list)
Environment:
Last Closed: 2014-08-06 14:38:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
threadump-server.txt (68.67 KB, text/plain)
2014-05-07 12:23 UTC, Miroslav Novak
no flags Details
threadump-cli.txt (10.88 KB, text/plain)
2014-05-07 12:24 UTC, Miroslav Novak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1095300 0 unspecified CLOSED [QE] (6.2.x) Calling :count-messages on non-existent subscription hangs CLI 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker WFLY-2511 0 Major Resolved NPE in QueueReadAttributeHandler if QueueControl does not exist 2016-09-09 13:29:33 UTC

Internal Links: 1095300

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


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