2577110 - IDOC_ERROR_INITIALIZATION: Exception in record factory. Check the configuration of ResourceAdapter | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2577110 - IDOC_ERROR_INITIALIZATION: Exception in record factory. Check the configuration of ResourceAdapter


You configured a scenario using modules (e.g. IDOCXmlToFlatConvertor or IDOCFlatToXmlConvertor) where after reproduction you see:


Checking the XPI Inspector (SAP Note 1514898, example 50) you see:

com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of repository destination <Name> failed: Connect to SAP gateway failed

LOCATION    CPIC (TCP/IP) on local host with Unicode
ERROR       hostname 'XYZ' unknown
RELEASE     721
COMPONENT   NI (network interface)
VERSION     40
RC          -2
MODULE      ninti.c
LINE        897
DETAIL      NiPGetHostByName: 'XYZ' not found
SYSTEM CALL getaddrinfo
COUNTER     32

at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:1016)
at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:31)
at com.sap.conn.jco.rt.RfcDestination.initRepository(RfcDestination.java:966)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:1077)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:33)
at com.sap.mw.jco.jra.JRA$ManagedConnectionFactoryImpl.getRepository(JRA.java:1712)
at com.sap.mw.jco.jra.JRA$RecordFactoryImpl.getRepository(JRA.java:6791)
at com.sap.mw.jco.jra.JRA$MessageHandler.getDestination(JRA.java:13029)
at com.sap.mw.jco.jra.idoc.JRAIDocExtension$IDocMessageHandler.getDestination(JRAIDocExtension.java:240)
at com.sap.mw.jco.jra.idoc.JRAIDocRuntime.getIDocRepository(JRAIDocRuntime.java:80)
at com.sap.aii.af.idoc.metadata.IDOCMetadata.initialize(IDOCMetadata.java:72)
at com.sap.aii.af.idoc.metadata.IDOCMetadata.<init>(IDOCMetadata.java:49)

Exception caught by adapter framework: (0) IDOC_ERROR_INITIALIZATION: Exception in record factory. Check the configuration of ResourceAdapter



  • PI Release Independent
  • SAP NetWeaver
  • SAP Process Integration


SAP NetWeaver all versions ; SAP Process Integration all versions


RFC_ERROR_COMMUNICATION, RFC_FAILURE, IDOCParseExecption, Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI , KBA , BC-XI-CON-IDO , Idoc Adapter J2EE , BC-XI-CON-AFW-MP , Adapter Framework Module Processor , Problem

About this page

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

Search for additional results

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