IBM Support

Deleted both the object store and data source but stills seeing XA Connection errors

Troubleshooting


Problem

The object store was deleted in the Administration Console for Content Engine and the data ource was removed in WebSphere. 

Symptom

The following errors are seen in the SystemOut.log:
[3/12/22 19:17:55:698 PST] 00000043 PrivExAction  E   J2CA0044E: The Connection Manager failed to get a Subject from the security service associated with ConnectionFactory <data source name>. Received exception javax.security.auth.login.LoginException: Incorrect authDataEntry and alias is: NodeName/username
    at com.ibm.ws.security.auth.j2c.WSDefaultPrincipalMapping.getSubject(WSDefaultPrincipalMapping.java:897)
    at com.ibm.ejs.j2c.PrivExAction.run(PrivExAction.java:136)
    
[3/12/22 19:17:55:698 PST] 00000043 J2CXAResource W   J2CA0061W: Error creating XA Connection and Resource java.security.PrivilegedActionException: javax.resource.ResourceException: LoginException getting Subject
    at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:122)
    
    at java.lang.Thread.run(Thread.java:822)
Caused by: javax.resource.ResourceException: LoginException getting Subject
    at com.ibm.ejs.j2c.PrivExAction.run(PrivExAction.java:211)
    
  [3/12/22 19:17:55:745 PST] 00000043 XARecoveryDat W   WTRN0005W: The XAResource for a transaction participant could not be re-created and transaction recovery may not be able to complete properly. The resource was J2CXAResourceInfo :
cfName = <data source name>
p8_server_error.log errors:
2022-03-15T05:14:49.083 9AE73D54 ENG  FNRCE0024W - WARN  The following error was encountered while trying to determine the DatabaseType for DatabaseConnection 'object store Name'.  A null property value will be returned.
com.filenet.api.exception.EngineRuntimeException: FNRCE0024E: E_FAILED_TO_GET_DATASOURCE: The server cannot get the data source <data source name>.
    at com.filenet.engine.context.ServerCallContext.getConnectionWithRetry(ServerCallContext.java:1334)
    
    at java.lang.Thread.run(Thread.java:822)
Caused by: com.filenet.api.exception.EngineRuntimeException: FNRCE0066E: E_UNEXPECTED_EXCEPTION: An unexpected exception occurred. Message was: Context: <Node Path>, name: <data source name>: First component in name <data source name> not found.
    at com.filenet.engine.context.ServerCallContext.jndiLookup(ServerCallContext.java:2272)
    
    at com.filenet.engine.context.ServerCallContext.jndiLookup(ServerCallContext.java:2256)
    ... 55 more

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSNVNV","label":"FileNet Content Manager"},"ARM Category":[{"code":"a8m0z000000Gn2MAAS","label":"Application Servers-\u003EWebsphere"}],"ARM Case Number":"TS008724255","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

ibm16564913