WS-RM: RMCaptureInInterceptor causingNullPointerException in DestinationSequence in CXF
Issue
-
For our scenarios all WS-RM Features have to work inside JBoss EAP, both as a client (wrapped by an SLSB) and as a provider.
The issue occurs with our (formerly) working example after configuring the persistent store for WS-RM. -
The class
org.apache.cxf.ws.rm.DestinationSequence
throws a NullPointerException in theacknowledge(.)
method when persistence is turned on.
The reason for that is that theRMCaptureInInterceptor
is not in the chain, if WS-RM is enabled by using a policy in the WSDL or just turning on the WS-RM feature.
Configuring all interceptors ourselves solves the problem. This is not nice...and theRMCaptureInInterceptor
which is needed is not even mentioned in the documentation http://cxf.apache.org/docs/wsrmconfiguration.html. -
We already created a JIRA for that where you can find more details: https://issues.apache.org/jira/browse/CXF-6274
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.3.3
- Apache CXF, WS-RM
- JBossWS-CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.