WS-RM: RMCaptureInInterceptor causingNullPointerException in DestinationSequence in CXF

Solution Verified - Updated -

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 the acknowledge(.) method when persistence is turned on.
    The reason for that is that the RMCaptureInInterceptor 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 the RMCaptureInInterceptor 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content