Bug 1132468 - [QA] (6.3.1) Clean shutdown of server with deployed JMS bridge hangs
Summary: [QA] (6.3.1) Clean shutdown of server with deployed JMS bridge hangs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: HornetQ
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: CR1
: EAP 6.3.1
Assignee: Andy Taylor
QA Contact: Miroslav Novak
Russell Dickenson
URL:
Whiteboard:
Depends On: 1014037
Blocks: eap631-blockers, eap631-payload, eap63-cp01-blockers 1132169
TreeView+ depends on / blocked
 
Reported: 2014-08-21 12:10 UTC by Chao Wang
Modified: 2014-10-13 18:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1014037
Environment:
Last Closed: 2014-10-13 18:39:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chao Wang 2014-08-21 12:10:44 UTC
Miroslav Novak 2013-10-01 05:55:39 EDT

Description of problem:

Test scenario:
1. Start two EAP 6.x servers - "source" server with deployed queue InQueue and "target" server with deployed queue OutQueue
2. Send 1000 large messages to InQueue
3. Deploy JMS bridge to "source" server which resends messages from InQueue to OutQueue (to "target" server)
4. During processing of messages from InQueue cleanly shutdown "target" server
5. Try to cleanly shutdown "source" server

Result:
Clean shutdown of "source" server hangs. Thread dump attached. 

Expected result:
"source" server should shutdown.

Flags: jboss-eap-6.2.0? qa_ack+
[reply] [−]
Private
Comment 1 Miroslav Novak 2013-10-01 05:57:35 EDT

Created attachment 805812 [details]
threaddump

JBoss Product and Program Management 2013-10-01 06:03:11 EDT
Flags: pm_ack?
JBoss Product and Program Management 2013-10-01 06:03:30 EDT
Flags: devel_ack?
Clebert Suconic 2013-10-01 09:47:07 EDT
Assignee: csuconic → ataylor
[reply] [−]
Private
Comment 2 Clebert Suconic 2013-10-01 10:37:40 EDT

I've asked Andy Taylor to take a look on this.

It was just open.. I think it would take us at least 1 week to resolve it. We can do a release if there's space on the release schedule. We will communicate accordingly within a week.

Status: NEW → ASSIGNED
mark yarborough 2013-12-16 19:55:33 EST
Flags: jboss-eap-6.2.0? pm_ack? → jboss-eap-6.2.0- jboss-eap-6.3.0? pm_ack+
[reply] [−]
Private
Comment 3 Miroslav Novak 2014-07-07 04:33:49 EDT

This is still issue in EAP 6.3.0.ER9 (HQ 2.3.20).

Target Release: --- → EAP 6.4.0
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1009409
Flags: jboss-eap-6.4.0?
[reply] [−]
Private
Comment 4 Miroslav Novak 2014-07-18 05:06:58 EDT

Attaching reproducer - reproducer-jms-bridge.zip:

1. Download and unzip reproducer-jms-bridge.zip
2. run "sh prepare.sh"
3. Start target server (server1) - "sh start-server1.sh 127.0.0.1"
4. start source server wiht JMS bridge (which is server3)  - "sh start-server3.sh other_ip"
5. Start procucer sending messages to server 3 - "sh start-producer.sh 192.168.40.3 jms/queue/InQueue 1000"
6. When proucer is sending messages cleanly shutdown (ctrl-c) server1
7. Now cleanly shutdown (ctrl-c) server3 -> server hangs

[reply] [−]
Private
Comment 5 Miroslav Novak 2014-07-18 05:08:12 EDT

Created attachment 919001 [details]
reproducer-jms-bridge.zip

[reply] [−]
Private
Comment 6 Andy Taylor 2014-07-18 10:04:43 EDT

Im working on this

[reply] [−]
Private
Comment 7 Andy Taylor 2014-07-22 08:47:59 EDT

fixed in https://github.com/hornetq/hornetq/pull/1720

Andy Taylor 2014-07-23 03:46:22 EDT
Status: ASSIGNED → MODIFIED
Andy Taylor 2014-07-23 04:01:39 EDT
Status: MODIFIED → POST

Comment 2 Miroslav Novak 2014-08-28 13:09:59 UTC
I can't reproduce the issue with EAP 6.3.1.CP.CR1. Thanks Andy for the fix! Verified.

Comment 3 Miroslav Novak 2014-08-28 13:20:25 UTC
Just adding missing flags.


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