SAP Knowledge Base Article - Preview

2666131 - Error in CPA Cache Refresh in SAP PI after IPv6 changes

Symptom

  • You are using Process Integration (PI) or Process Orchestration (PO) and have recently disabled the use of IPv6 in your system / JVM parameters.
  • You are receiving the below errors in your CPA Cache:
    <Message> Couldn't parse Configuration Data cache update XML string from Directory. </Message>
    <Trace> org.xml.sax.SAXException: JavaErrors Tag found in cache update XML. at com.sap.aii.af.service.cpa.impl.cache.directory.DirectoryDataSAXHandler.startElement(DirectoryDataSAXHandler.java:359) at
    com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at
    ...
    com.sap.aii.af.service.cpa.impl.exception.CPADirectoryCacheException: Could not open Confirmation URL. Reason: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: Connection refused: connect (port 443 to address ::1) at com.sap.aii.af.service.cpa.impl.cache.directory.SecureDirectoryAccess.invokeConfirmationURL(SecureDirectoryAccess.java:152) at

  • In the defaultTrace you can see the below errors:
    #BC-XI-IBD#com.sap.xi.util.misc#C0000A0A1C7C03F100000013000003B0#14037750000000004#sap.com/com.sap.xi.directory#com.sap.aii.ibdir.server.cache.EnhancedCacheSession#PIAFPIP#843#JTA Transaction :23202#EA038D655EA211E89E68000000D632F6#974bb7375ea811e8a7ea000000d632f6#E5EB41055EA811E8B4AA000000D632F6#1#Thread[HTTP Worker [@1202532490],5,Dedicated_Application_Thread]#Plain##
    xiLinks: [com.sap.aii.ib.core.oa.ObjectRead@a135ba1b]
    Thrown:
    com.sap.aii.ib.core.roa.RoaCoreException: Attempt to access application REPOSITORY using HTTP Method Invocation (HMI) failed. Detailed information: Invoking * method "ReadObjects" via HMI ... FAILED due to following exception: Message: Connection to system REPOSITORY using application REPOSITORY lost. Detailed information: Error receiving http response from URL "https://<server>:<port>/rep/remoteobjectaccess/int?container=ejb"! Details: caught exception
    Message: Connection refused: connect (port 443 to address ::1)
    Stacktrace:
    org.w3c.www.protocol.http.HttpException: Connection refused: connect (port 443 to address ::1)
    java.net.ConnectException: Connection refused: connect (port 443 to address ::1)
  • In the Integration Directory you may also experience the below errors:
    connection to system xiServer using application ib lost. Detailed information: Exception while openting http url connection to "https://<server>.pt:<port>/dir/cachestatus/int?"! Message is: Internal error in method createConnection(URL aUrl) of class com.sap.aii.utilxi.hmi.api.JdkHttpURLConnectionFactory. Detailed information: !"http".equals(aUrl.getProtocol()) Exception: Message: Internal error in method createConnection(URL aUrl) of class com.sap.aii.utilxi.hmi.api.JdkHttpURLConnectionFactory. Detailed information: !"http".equals(aUrl.getProtocol()) Stacktrace: com.sap.aii.utilxi.hmi.api.HmiCoreException: Internal error in method createConnection(URL aUrl) of class com.sap.aii.utilxi.hmi.api.JdkHttpURLConnectionFactory. Detailed information: !"http".equals(aUrl.getProtocol()) at
    ...

    Unknown (could not be determined)
    Connection to system DIRECTORY using application DIRECTORY lost. Detailed information: Error receiving http response from URL "https://<server>.pt:<port>/dir/backendurlservice/int?container=any"! Details: caught exception Message: Connection refused: connect (port XXX to address ::1) Stacktrace: org.w3c.www.protocol.http.HttpException: Connection refused: connect (port XXX to address ::1) java.net.ConnectException: Connection refused: connect (port 443 to address ::1)… 


Read more...

Environment

  • SAP NetWeaver 7.0
  • SAP enhancement package 1 for SAP NetWeaver 7.0
  • SAP enhancement package 2 for SAP NetWeaver 7.0
  • SAP enhancement package 3 for SAP NetWeaver 7.0
  • SAP NetWeaver Process Integration 7.1
  • SAP enhancement package 1 for SAP NetWeaver Process Integration 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver 7.5

Keywords

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.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, ESR, ID, IB, Integration Builder, Enterprise Services Repository, Enterprise Services Builder , KBA , BC-XI-CON-AFW-DC , Directory Cache , 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.