[
https://issues.jboss.org/browse/GTNWSRP-208?page=com.atlassian.jira.plugi...
]
Chris Laprun resolved GTNWSRP-208.
----------------------------------
Resolution: Rejected
The way registration works in GateIn on the producer side is that it disallows duplicate
registrations from the same consumer. Duplicate registrations are defined as an attempt to
register with the same registration properties. In the default case (which I assume you
are in), a consumer is already defined to consume the portlets offered by our producer (it
is named selfv2). If you refreshed it, then this consumer has been registered with no
registration properties (assuming a default producer configuration).
I guess the confusing part is that a consumer that you create from the UI doesn't
necessarily create a new consumer from the producer's perspective: for the producer,
any consumer originating from the same system (same IP address, connecting to the same
WSRP port version) will be identical unless it uses different registration properties as
there is no need to create several instances of a consumer to consumer exactly the same
portlets. With the default settings (i.e. the producer requiring registration but without
any registration properties), there is therefore no way to create different consumers
accessing the GateIn producer from the same system because there is no way to distinguish
them based on registration properties.
What was the use case? If you feel your use case is not properly covered with the current
implementation, feel free to open a new feature request.
Unable to clean registration for WSRP consumers
-----------------------------------------------
Key: GTNWSRP-208
URL:
https://issues.jboss.org/browse/GTNWSRP-208
Project: GateIn WSRP
Issue Type: Bug
Components: Consumer
Environment: jboss epp 5.1.0
Reporter: Arthur Peltier
Assignee: Chris Laprun
Attachments: WSRP-Registration error.txt, wsrpTestPortlets-1.1.war
Couldn't register with producer 'epp-plf' Could not register consumer named
'mars.testlab.exoplatform.vn WSRP v2 version' Cause: Consumer named
'mars.testlab.exoplatform.vn WSRP v2 version' has already been registered with the
same set of registration properties. Registration rejected!
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira