SAP Knowledge Base Article - Preview

3354189 - XECM - "standard error= 4" Error occurs in OTDS log when running SAP diagnostic report for ECMLink

Symptom

When using Extended ECM for SAP with OpenText Directory Services you may run into an issue where the following error is returned in the results of the diagnostic program:

SoapFaulCodeName: WebServices.Authentication.SAPTokenError SoapFaulCodeNamespace: urn:api.ecm.opentext.com Error validating SAP token [Aj...WcLQIUBTQY9Tp8trMKRYyZlU79ECSyozY%3D]: Encountered exception validating SAP Token. Details: MySapEvalLogonTicketEx failed: standard error= 4, ssf error= 0 Exception

When reviewing the OTDS log you will see log lines similar to the following:

DEBUG com.opentext.otds.as.OtdsAuthenticationManager - Authentication attempt for username [token] with handler CRI result {FAILURE, SAP_TICKET_EXPIRED, Error validating SAP token [Aj...WcLQIUBTQY9Tp8trMKRYyZlU79ECSyozY%3D]: Encountered exception validating SAP Token. Details: MySapEvalLogonTicketEx failed: standard error= 4, ssf error= 0 Exception, null}

DEBUG com.opentext.otds.as.drivers.sapssoext.SAPSSOEXTAuthHandler - Error validating SAP token [Aj...WcLQIUBTQY9Tp8trMKRYyZlU79ECSyozY%3D]: Encountered exception validating SAP Token. Details: MySapEvalLogonTicketEx failed: standard error= 4, ssf error= 0 Exception

If you have SAP_EXT_TRC logging enabled you will see log lines similar to the following in the sap_ext_trc.log:

Validateticket succeeded.
Convert ticket content from SAP_CODEPAGE >4102< to >4110<
Got date 201802161907 from ticket.
Cur time = 201802161911
Computing validity in hours.
Computing validity in minutes.
CurTime_t = 1518894660, CreTime_t = 1518894420
validity: 120, difference: 240.000.
*** ERROR => Validation succeeded, but ticket expired. [ssoxxext_mt. 590]
*** ERROR => MySapEvalLogonTicketEx returns 4. [ssoxxext_mt. 1097]
End of function MySapEvalLogonTicketEx.
JAVA: End of evalLogonTicket


Read more...

Environment

SAP Extended Enterprise Content Management by OpenText 10.5.1

• Extended ECM for SAP Solutions 10.5.1

• Info Extraction Service for SAP 16.2

• Archiving and Document Access for SAP Solutions 10.5.0

• Extended ECM for SAP Solutions 16.2

• Info Extraction Service for SAP 10.5

• SAP Extended Enterprise Content Management by OpenText 10.5.0

• SAP Archiving & Doc Access by OpenText 16.0

• Extended ECM for SAP Solutions 10.5

• SAP Business Applications 16.2

• Archiving and Document Access for SAP Solutions 10.5

• Archiving and Document Access for SAP Solutions 16.0

• SAP Archiving & Doc Access by OpenText 16.2

• Core Capture for SAP Solutions 16.0

• Core Capture for SAP Solutions 16.2

• Enterprise Library Services 10.5.0

• SAP Archiving & Doc Access by OpenText 10.5

• Extended ECM for SAP Solutions 10.5.0

• Enterprise Library Services 16

• SAP Extended Enterprise Content Management by OpenText 10.5

• SAP Business Applications 10.5

• Info Extraction Service for SAP 16.0

• Archiving and Document Access for SAP Solutions 16.2

• Core Capture for SAP Solutions 10.5.0

• SAP Business Applications 16.0

• SAP Archiving & Doc Access by OpenText 10.5.0

• SAP Extended Enterprise Content Management by OpenText 16.2

• Info Extraction Service for SAP 10.5.0

• Extended ECM for SAP Solutions 16.0

• SAP Extended Enterprise Content Management by OpenText 16.0

• Core Capture for SAP Solutions 10.5

• SAP Business Applications 10.5.0

Product

SAP Extended Enterprise Content Management 16.0 by OpenText ; SAP Extended Enterprise Content Management 16.2 by OpenText, cloud edition ; SAP Extended Enterprise Content Management 20.4 by OpenText ; SAP Extended Enterprise Content Management 21.4 by OpenText ; SAP Extended Enterprise Content Management 22.4 by OpenText, cloud edition ; SAP Extended Enterprise Content Management by OpenText, cloud edition 21.4

Keywords

KBA , XX-PART-OPT-ECM , SAP Extended Enterprise Content Management by OpenText(xECM) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.