I'm trying to run the narayana LRA implementation on Open Liberty, and I think I'm running into a bug. The symptom I see is that two LRAs seem to be created for each call to an annotated resource, only one of which is completed properly. It looks to me as if this is caused by ServerLRAFilter being registered twice, once implicitly because ServerLRAFilter is a Provider, and once explicitly in FilterRegistration.
Running on Wildfly with tracing on, you can see a message from resteasy saying that a duplicate registration is being ignored.
Open Liberty uses Apache CXF as its JAX-RS implementation, and this seems to accept the duplicate registration, which I think causes the problem I'm seeing.
Is there any reason why Narayana has two paths to register ServerLRAFilter? Could one of them be removed?
Iain