[
https://issues.jboss.org/browse/GTNWSRP-202?page=com.atlassian.jira.plugi...
]
Chris Laprun resolved GTNWSRP-202.
----------------------------------
Resolution: Won't Fix
The problem lies with the RegistrationPolicy implementation that is not correct. Error
reporting could probably be better, though it's not easy to do so…
Producer configuration - error message for test policy
------------------------------------------------------
Key: GTNWSRP-202
URL:
https://issues.jboss.org/browse/GTNWSRP-202
Project: GateIn WSRP
Issue Type: Bug
Components: Producer
Environment: Gatein wsrp-extraction branch (from 2/18)
Reporter: Michal Vanco
Assignee: Chris Laprun
Fix For: 2.0.1-GA
Attachments: producer_policy.txt, wsrp-policy-test-0.0.1-SNAPSHOT.jar
There is an error like:
Couldn't register with producer 'selfv2' Could not register consumer named
'mvanco-laptop WSRP v2 version' Cause: Requires a non-null, non-empty identity
when creating new consumer for producer where I I set TestRegistrationPolicy.
Is this correct error? Can you please verify what's happening with this test policy
(that's the same as you have at test folder in producer-lib)?
To reproduce:
- copy attached jar to deploy folder (contains policy)
- set policy on producer to: org.gatein.test.wsrp.TestRegistrationPolicy
- create new consumer
Note: you can also verify with 1 instance and self producer/consumer
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira