Bug 778045 (SOA-570)

Summary: Cannot undeploy clustered queue and deploy it again as non-clustered
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Martin Vecera <mvecera>
Component: JBoss MessagingAssignee: Dana Mison <dmison>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.2 CP02   
Target Milestone: ---   
Target Release: 4.3 GA   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-570
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-28 08:01:08 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Vecera 2008-06-11 11:21:59 UTC
Affects: Release Notes
Date of First Response: 2008-06-16 08:26:39
project_key: SOA

See linked issue.

Comment 1 Martin Vecera 2008-06-11 11:22:18 UTC
Link: Added: This issue depends JBMESSAGING-1368


Comment 2 Martin Vecera 2008-06-12 08:40:42 UTC
I'd suggest adding a note about this to documentation because the solution is not so obvious.

The definite problem solution is to delete the row from JBM_POSTOFFICE.

Comment 3 Martin Vecera 2008-06-12 08:41:24 UTC
Please could you have a look on this?

Comment 4 Len DiMaggio 2008-06-16 12:26:39 UTC
Martin - is this a new problem in CP02? (In other words, is this a regression relative to CP01/GA?)



Comment 5 Mark Little 2008-08-22 11:19:10 UTC
Affects: Added: [Release Notes]


Comment 6 Dana Mison 2008-08-27 03:05:20 UTC
Release note content under known issues

"BMESSAGING-1368 - If you have deployed a clustered queue and then undeploy it, you cannot deploy a non-clustered queue with the same name.  You must delete the destination from JBM_POSTOFFICE table first before redeploying"

Comment 7 Dana Mison 2008-09-12 06:08:17 UTC
added to 4.3 release notes

Comment 8 Martin Vecera 2008-10-06 08:14:33 UTC
Cannot verify this fix with IR5 since the docs package is not correct and doesn't contain release notes (SOA-889).

Comment 9 Martin Vecera 2008-10-20 09:25:01 UTC
I suggest the following update to the rel. notes (marked with >>> <<<):

You cannot deploy a non-clustered queue with the same name as a clustered queue that has been
deployed >>>and<<< then undeployed >>>and vice versa<<<. You must delete the destination from JBM_POSTOFFICE table first
before deploying.


Comment 10 Dana Mison 2008-10-22 04:03:51 UTC
to clarify:

if I deploy a clustered queue called X, undeploy it,and then deploy a new clustered queue called X there are no problems ?  And like wise if the queue each time is not clustered?

its only a problem if the clustering "mode" of the queue differs?

Comment 11 Dana Mison 2008-10-22 04:12:43 UTC
Unfortately I can't use phrases like "vice versa" because they don't translate well.

New content:

Once a queue is undeployed you cannot deploy a new queue with the same
name if one of the queues was a clustered queue and the other queue was 
not.  You must delete the destination from the JBM_POSTOFFICE table 
before the new queue can be deployed successfully.

Comment 12 Dana Mison 2008-10-23 01:08:49 UTC
content update applied

Comment 13 Martin Vecera 2008-10-24 13:17:29 UTC
This seems really great.

Comment 14 Jiri Pechanec 2008-10-28 08:01:08 UTC
Verified in GA