JBAS015594 / NullPointerException when enlisting a 3rd party participant in WS-AT application in JBoss EAP

Solution Verified - Updated -

Issue

  • Using WS-AT with the Microsoft Distributed Transaction Coordinator (MSDTC)
  • Encountering the exception below

    ... ERROR [org.jboss.as.webservices.invocation.InvocationHandlerJAXWS] ... JBAS015594: Method invocation failed with exception: Error when enlisting participant ...
            ...
    Caused by: com.arjuna.wst.SystemException: java.lang.NullPointerException
            at com.arjuna.mwlabs.wst11.at.remote.TransactionManagerImple.registerParticipant(TransactionManagerImple.java:176) [jbossxts-4.17.29.Final-redhat-1.jar:4.17.29.Final-redhat-1]
            at com.arjuna.mwlabs.wst11.at.remote.TransactionManagerImple.enlistForDurableTwoPhase(TransactionManagerImple.java:41) [jbossxts-4.17.29.Final-redhat-1.jar:4.17.29.Final-redhat-1]
            ...
    
  • A Byteman rule to capture the root exception verifies it to originate within the call stack below

    ... java.lang.NullPointerException
            at com.arjuna.wsc11.RegistrationCoordinator.register(RegistrationCoordinator.java:55)
            at com.arjuna.mwlabs.wst11.at.remote.TransactionManagerImple.registerParticipant(TransactionManagerImple.java:156)
            at com.arjuna.mwlabs.wst11.at.remote.TransactionManagerImple.enlistForDurableTwoPhase(TransactionManagerImple.java:41)
            ...
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6
    • 7
  • Microsoft Distributed Transaction Coordinator (MSDTC)

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