[
https://issues.jboss.org/browse/GTNWSRP-235?page=com.atlassian.jira.plugi...
]
Chris Laprun resolved GTNWSRP-235.
----------------------------------
Fix Version/s: 2.1.1-GA
Resolution: Done
This issue seems to be resolved.
It's not possible to create two consumers with different name in
clustered environment
--------------------------------------------------------------------------------------
Key: GTNWSRP-235
URL:
https://issues.jboss.org/browse/GTNWSRP-235
Project: GateIn WSRP
Issue Type: Sub-task
Affects Versions: 2.0.0-GA
Environment: 2 EPP 5.1.1 DEV01 instances in cluster + loadbalancer as producer
1 local EPP5.1.1 DEV01 instance as consumer
Reporter: Michal Vanco
Assignee: Chris Laprun
Fix For: 2.1.1-GA, 2.2.0
Attachments: wsrp-cluster-names.txt
Exact steps to reproduce:
- start clustered environment with loadbalancer as producer
- register consumer with name 'test1'
- delete consumer
- register consumer with name 'test2' -> error:
org.chromattic.api.DuplicateNameException: Attempt to insert context
EntityContext[state=ObjectStatus[status=TRANSIENT],mapper=EntityMapper[class=class
org.gatein.portal.wsrp.state.producer.registrations.mapping.ConsumerMapping,typeName=wsrp:consumer]]
as an existing child with name mvanco-laptop_WSRP_v1_version child of node
/wsrp:consumersandgroups
(log from producer attached)
Note: I have also applied patched gatein wsrp jar (for epp5.1.1 CR1) with the same
result.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira