故障诊断与支持

故障诊断技术和自助信息有助于您快速识别和解决问题。本主题为您可能遇到的 SAP 连接器问题提供可能的解决方案。

获取 WebSphere Cast Iron SAP 连接器的 EDI_DC40 IDOC 控制记录结构

EDI_DC40 是用于将 IDoc 接口控制记录存储到外部系统信息的标准 SAP 结构。如果针对“接收 IDoc” 和“发送 IDoc”活动,SAP 连接器将非 Unicode SAP 服务器用作 WebSphere Cast Iron Studio V7002 中的端点,那么此连接器支持控制记录名称 EDI_DC40。

请求将 EDI_DC 用作其标准结构名称的客户使用最新版本的 7501/7510 Studio,在其编排中重新配置对象,并相应地进行映射。

旧行为:

对于非 Unicode 机器的旧行为,控制记录名称为 EDI_DC 而不是 EDI_DC40。

-ALEREQ01 
|_SAPTransactorID 
|_qRECQueueName 
|_IDOC    
 |_@Begin    
 |_EDI_DC        
      |_@Segment        
      |_TABNAM        
      |_MANDT
………
………

新行为:

对于 Unicode 和非 Unicode SAP 服务器的新行为,控制记录名称将为 EDI_DC40。

-ALEREQ01 
|_SAPTransactorID 
|_qRECQueueName 
|_IDOC    
 |_@Begin    
 |_EDI_DC40        
      |_@Segment        
      |_TABNAM        
      |_MANDT
………
………

依赖性 JCo Jar 文件 - 特定于版本的信息

安装并使用 SAP Java Connector 3.0 的最新补丁级别。可用的最新版本的 JCo jar:3.0.14,IDoc V3.0.12。

您必须具有下面这 3 个文件:sapjco3.jar、sapjco3.dll(针对 Windows)或 sapjco3.so(针对 Appliance)以及 sapidoc3.jar。

要下载 SAP JCo jar(2 个文件),请遵循特定于版本的这些步骤:
  • 从 SAP Service Marketplace (http://service.sap.com/connectors) 下载最新的 SAP Java Connector 3.0.14。您可通过浏览至 SAP Java Connector > 工具和服务 > 下载 SAP JCo R3.0 来查找适用于各种平台的具有最新补丁级别的软件包。安装指南将包含在下载归档中。
    • 对于 Studio 32 位版本,请在 Microsoft Windows 和 Windows Server > 32 位下为 32 位版本的 WebSphere Cast Iron Studio 下载 JCo jar zip 文件。
    • 对于 Studio 64 位版本,请在 Microsoft Windows 和 Windows Server > 64 位 x86 下为 64 位版本的 WebSphere Cast Iron Studio 下载 JCo jar zip 文件。
    • 对于 WebSphere Cast Iron Appliance,请在 Linux(针对与 Intel 兼容的处理器)> 64 位 x86 下为 Appliance 下载 JCo jar zip 文件。
要下载 SAP IDoc jar(1 个文件),请遵循特定于版本的这些步骤:
  • 从 SAP Service Marketplace (http://service.sap.com/connectors) 下载最新的 SAP Java Connector 3.0.14。您可通过浏览至 SAP Java Connector > 工具和服务 > SAP Java IDoc Class Library 来查找适用于各种平台的具有最新补丁级别的软件包。
    • 对于所有平台,SAP Java IDoc Class Library 3.0.12 zip 文件将包含 SAP IDoc jar 文件。

尝试在更高版本的 Studio 中浏览 6.1.0.15 Studio 项目的编排(新的或现有的)的 IDoc/BAPI/RFC 时抛出异常。

问题:

当在任何其他更高版本的 Studio 中打开 6.1.0.15 Studio 项目并在新的或现有的编排中浏览 IDoc/BAPI/RFC 时,抛出了空点异常。

显示在 studio error.log 文件中的错误:
WARNING: Unable to find entry: /.configuration-wizard -- err msg: Unable to locate  entry
      /.configuration-wizard java.util.concurrent.ExecutionException:
      java.lang.NullPointerException at
      java.util.concurrent.FutureTask.report(FutureTask.java:134) at
      java.util.concurrent.FutureTask.get(FutureTask.java:200) at
      com.approuter.studio.gui.FutureBusyView$1.run(FutureBusyView.java:72) at
      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157) at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627) at
      java.lang.Thread.run(Thread.java:798) Caused by: java.lang.NullPointerException at
      com.approuter.studio.connectors.sap.WSSapConnection.<init>(WSSapConnection.java:88) at
      com.approuter.studio.connectors.sap.endpoint.SapEndpointProjectNode$3.call(SapEndpointProjectNode.java:345)
      at
      com.approuter.studio.connectors.sap.endpoint.SapEndpointProjectNode$3.call(SapEndpointProjectNode.java:342)
      at java.util.concurrent.FutureTask.run(FutureTask.java:274)

原因:

在更高版本的 Cast Iron Studio 中已增强认证机制。

解决方案:

在更高版本的 Studio 中打开项目之后,浏览至显示在项目选项卡右侧的各个端点,然后返回至编排的“配置”选项卡。

现在您能够浏览该编排的 IDoc/BAPI/RFC。

日期和时间字段值的受支持格式

下表描述了 SAP 连接器所有活动的日期和时间字段值的受支持格式:
表 1. 日期和时间字段值的格式
字段 输入参数(非启动方活动) 输出参数(启动方和非启动方活动)
日期 yyyy-mm-dd

或者

yyyymmdd

yyyymmdd
时间 hh:mm:ss

或者

hhmmss

hhmmss

SAP 连接器 V6.0.x 及更早版本中日期和时间字段值的输入和输出参数的受支持格式分别为:yyyy-mm-ddhh:mm:ss

使用相同 RFC 程序标识部署具有“接收 RFC”和“接收 IDOC”活动的编排时抛出异常

问题:使用相同 SAP RFC 程序标识部署具有“接收 RFC”和“接收 IDOC”活动的编排时,将抛出以下异常:

java.lang.RuntimeException: An attempt to start a JCoIDocServer failed. There might be an existing JCoServer with the same server configuration, else try restarting your server
at com.ibm.j2ca.sap.inbound.SapJCoServerBuilder.verfiyServerConfiguration(SapJCoServerBuilder.java:403)
at com.ibm.j2ca.sap.inbound.SapJCoServerBuilder.createServer(SapJCoServerBuilder.java:96)
at com.ibm.j2ca.sap.inbound.SAPEventListenerManager.buildEventListener(SAPEventListenerManager.java:149)
at com.ibm.j2ca.sap.inbound.SAPEventListenerManager.startEventListeners(SAPEventListenerManager.java:132)
at com.ibm.j2ca.sap.inbound.EndpointManager.addEndpoint(EndpointManager.java:68)
at com.ibm.j2ca.sap.SAPResourceAdapter.endpointActivation(SAPResourceAdapter.java:266)
at com.approuter.module.sap.activity.ReceiveIDOCActivity.activate(ReceiveIDOCActivity.java:222)
at com.approuter.maestro.activities.BaseModule.activate(BaseModule.java:296)
at com.approuter.maestro.vm.Program.start(Program.java:796)
at com.approuter.maestro.vm.Kernel.startOrchestration(Kernel.java:704)
at com.approuter.maestro.management.Loader$1.run(Loader.java:461)
at java.lang.Thread.run(Thread.java:736)

原因:SAP JCo 仅允许一个具有给定服务器配置集的 JCoServer 实例在 Java 虚拟机 (JVM) 中运行;具有相同服务器配置的另一 JCoServer 不能在同一 JVM 中运行。 JCo 抛出指示服务器无法重新启动的错误。 “接收 IDOC”活动和“接收 RFC”活动不支持在编排期间使用相同 SAP 程序标识。

解决方案: 确保使用不同的 SAP 程序标识,部署具有“接收 RFC”和“接收 IDOC”活动的编排,并为 IDOC/RFC 创建不同的端点。

避免“超过最大会话数 202”错误的建议配置

在使用 SAP 连接器时,如果显示错误“超过最大会话数 202”,建议采取以下配置:

错误

LOCATION   CPIC (TCP/IP) on local host with Unicode
ERROR      max no of 202 conversations exceeded
TIME       <Day> <Date> <Time> <Year>
RELEASE    720
COMPONENT  CPIC (TCP/IP) with Unicode

以下建议依赖于负载和并行请求数:

  1. 减小端点配置中的超时值以使未使用的连接自动终止。
  2. 配置 Cast Iron 运行时和 SAP 网关以支持更多的 RFC 连接。
    1. 在 Cast Iron 运行时上将环境值 CPIC_MAX_CONV 设置为 >100。更新 maestro.sh 以设置环境变量。“计划 A”中描述了相关步骤。
    2. 在 SAP 网关上增加概要文件值 gw/max_conngw/max_sys 以支持多个并行连接。此外,如果遇到内存瓶颈问题,那么还需增加 gw/max_overflow_sizegw/max_shm_req 的值。
    3. 将 SAP 端点中的“最大连接数”值设置为实际值。 根据负载和并行请求数,设备将执行生成或接收操作。
    4. 将 SAP 端点中的“服务器实例数”值设置为 10。
  3. 示例值:
    SAP-Gateway
    gw/max_conn=2000, gw/max_sys=1200
    gw/max_overflow_size =40000000, gw/max_shm_req = 200 (this is to adjust the memory allocation)
    CPIC_MAX_CONV=5000

计划 A

  1. 登录到设备 shell(联系 IBM 支持人员,获取设备 shell 密钥以便登录到系统 shell)。
  2. 转至 /usr/ironhide/bin 文件夹。备份 maestro.sh(将 maestro.sh 复制到 maestro.sh.old)。
  3. 编辑 maestro.sh
    move to line 
    #  Version of java currently in use.
    if [ -z $JAVA_HOME ]; then
      JAVA_HOME=/usr/java/default
    fi
    JAVA="${JAVA_HOME}/bin/java"
  4. 添加以下行:
    ## maximum SAP conversations allowed
    export CPIC_MAX_CONV=500
  5. 保存并退出。
  6. 退出系统 shell 并运行命令 system restart 以重新启动设备运行时。

将 JRE 从 32 位升级到 64 位

问题:如果您的 SAP 项目运行在较低版本的设备上,那么在将设备升级到 V7.0 或更高版本时,SAP 项目将不启动,并发生以下错误:

  • WMC 中抛出的错误示例:
    Start of Orchestration config-
    url://SAP_BAPI/1.0/Default/Orchestrations/Orchestration failed:
    java.lang.ExceptionInInitializerError: Error
    getting the version of the native layer:
    java.lang.UnsatisfiedLinkError: sapjco3
    (/usr/ironhide/lib/thirdparty/libsapjco3.so:
    wrong ELF class: ELFCLASS32).
    Required SAP JCO library is not found.
    Install version 3.x SAP JCO library (.dll or .so based on platform)
  • maestro.out 日志中记录的异常示例:
    java.lang.UnsatisfiedLinkError: sapjco3 (/usr/ironhide/lib/thirdparty/libsapjco3.so: wrong ELF class: ELFCLASS32)
    	at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1030)
    	at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:994)
    	at java.lang.System.loadLibrary(System.java:507)
    	at com.sap.conn.jco.rt.DefaultJCoRuntime.loadLibrary(DefaultJCoRuntime.java:481)
    	at com.sap.conn.jco.rt.DefaultJCoRuntime.registerNativeMethods(DefaultJCoRuntime.java:347)
    	at com.sap.conn.jco.rt.JCoRuntime.registerNatives(JCoRuntime.java:1108)
    	at com.sap.conn.rfc.driver.CpicDriver.<clinit>(CpicDriver.java:954)
    	at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at com.sap.conn.rfc.engine.DefaultRfcRuntime.getVersion(DefaultRfcRuntime.java:43)
    	at com.sap.conn.rfc.api.RfcApi.RfcGetVersion(RfcApi.java:237)
    	at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:215)
    	at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:77)
    	at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
    	at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at java.lang.Class.forNameImpl(Native Method)
    	at java.lang.Class.forName(Class.java:182)
    	at com.sap.conn.jco.JCo.createJCo(JCo.java:52)
    	at com.sap.conn.jco.JCo.<clinit>(JCo.java:26)
     at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at java.lang.Class.forNameImpl(Native Method)
    	at java.lang.Class.forName(Class.java:182)
    	at com.approuter.module.sap.SAPActivator.checkSAPInstalled(SAPActivator.java:101)
    	at com.approuter.module.sap.activity.SAPBaseActivity.checkSapSetup(SAPBaseActivity.java:498)	at com.approuter.module.sap.activity.SAPBaseActivity.generateSchemas(SAPBaseActivity.java:172)
    	at com.approuter.module.sap.activity.SapSendRfcData.activate(SapSendRfcData.java:112)
    	at com.approuter.maestro.activities.BaseModule.activate(BaseModule.java:301)
    	at com.approuter.maestro.vm.Program.start(Program.java:768)
    	at com.approuter.maestro.vm.Kernel.startOrchestration(Kernel.java:739)
    	at com.approuter.maestro.management.Loader$1.run(Loader.java:455)
    	at java.lang.Thread.run(Thread.java:738)
    java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: sapjco3 (/usr/ironhide/lib/thirdparty/libsapjco3.so: wrong ELF class: ELFCLASS32)
     at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:227)
     at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:77)
     at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
     at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at java.lang.Class.forNameImpl(Native Method)
    	at java.lang.Class.forName(Class.java:182)
    	at com.sap.conn.jco.JCo.createJCo(JCo.java:52)
     at com.sap.conn.jco.JCo.<clinit>(JCo.java:26)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at java.lang.Class.forNameImpl(Native Method)
    	at java.lang.Class.forName(Class.java:182)
    	at com.approuter.module.sap.SAPActivator.checkSAPInstalled(SAPActivator.java:101)
    	at com.approuter.module.sap.activity.SAPBaseActivity.checkSapSetup(SAPBaseActivity.java:498)	at com.approuter.module.sap.activity.SAPBaseActivity.generateSchemas(SAPBaseActivity.java:172)
    	at com.approuter.module.sap.activity.SapSendRfcData.activate(SapSendRfcData.java:112)
    	at com.approuter.maestro.activities.BaseModule.activate(BaseModule.java:301)
    	at com.approuter.maestro.vm.Program.start(Program.java:768)
    	at com.approuter.maestro.vm.Kernel.startOrchestration(Kernel.java:739)
    	at com.approuter.maestro.management.Loader$1.run(Loader.java:455)
    	at java.lang.Thread.run(Thread.java:738)
    2013-08-22 09:18:25.013 SEVERE [T-10] [orc:SAP_BAPI/1.0/Default/Orchestrations/Orchestration] [com.approuter.module.common.util.LogHelper] Required SAP JCO native library is not found. Install version 3.x SAP JCO native library(.dll or .so based on platform).
    java.lang.RuntimeException: java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: sapjco3 (/usr/ironhide/lib/thirdparty/libsapjco3.so: wrong ELF class: ELFCLASS32)
    	at com.approuter.module.sap.activity.SAPBaseActivity.checkSapSetup(SAPBaseActivity.java:509)
    	at com.approuter.module.sap.activity.SAPBaseActivity.generateSchemas(SAPBaseActivity.java:172)
    	at com.approuter.module.sap.activity.SapSendRfcData.activate(SapSendRfcData.java:112)
    	at com.approuter.maestro.activities.BaseModule.activate(BaseModule.java:301)
    	at com.approuter.maestro.vm.Program.start(Program.java:768)
    	at com.approuter.maestro.vm.Kernel.startOrchestration(Kernel.java:739)
    	at com.approuter.maestro.management.Loader$1.run(Loader.java:455)
    	at java.lang.Thread.run(Thread.java:738)
    Caused by: java.lang.ExceptionInInitializerError: Error getting the version of the native layer: java.lang.UnsatisfiedLinkError: sapjco3 (/usr/ironhide/lib/thirdparty/libsapjco3.so: wrong ELF class: ELFCLASS32)
     at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:227)
     at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:77)
     at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
     at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at java.lang.Class.forNameImpl(Native Method)
    	at java.lang.Class.forName(Class.java:182)
    	at com.sap.conn.jco.JCo.createJCo(JCo.java:52)
    	at com.sap.conn.jco.JCo.<clinit>(JCo.java:26)
    	at java.lang.J9VMInternals.initializeImpl(Native Method)
    	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
    	at java.lang.Class.forNameImpl(Native Method)
    	at java.lang.Class.forName(Class.java:182)
    	at com.approuter.module.sap.SAPActivator.checkSAPInstalled(SAPActivator.java:101)
    	at com.approuter.module.sap.activity.SAPBaseActivity.checkSapSetup(SAPBaseActivity.java:498)

原因

在较低版本的 Cast Iron Appliance(V6.4 及更低版本)中,使用的是 32 位的 SAP JCo 库。自 Cast Iron Appliance V7.0 开始,必须使用 64 位的 SAP JCo 库。

解决方案

您必须删除 32 位的 SAP JCo 库 sapjco3.jarlibsapjco3.so,并装入 64 位的 SAP JCo 库。

升级 SAP JCo 库:

如果在应用 64 位 JCo 库后出现任何问题,请联系 IBM 技术支持以获取进一步的协助。

当 SAP 服务器主机名不正确时抛出异常

问题:当 SAP 服务器主机名不正确时,在 JCo 跟踪中抛出以下异常

Error: >Thu Jul 16 15:08:00,483< RfcException:
 Message: Connect to SAP gateway failed
Connection parameters: TYPE=A DEST=9.184.167.114|100|dev0028.492965 ASHOST=9.184.167.114 SYSNR=10 CODEPAGE=1100 PCS=1
LOCATION   CPIC (TCP/IP) on local host with Unicode
ERROR partner '9.184.167.114:3310' not reached
TIME Thu Jul 16 15:08:00 2015
RELEASE 721
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3283
DETAIL NiPConnect2:9.184.167.114:3310
SYSTEM CALL connect
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 2
 return code: RFC_FAILURE (1)
 error group: 102
 key: RFC_ERROR_COMMUNICATION

当 SAP 系统号不正确时抛出异常

问题:当 SAP 系统号不正确时,在 JCO 跟踪中抛出以下异常

Error: >Thu Jul 16 15:21:40,738< RfcException:
 message: Connect to SAP gateway failed
Connection parameters: TYPE=A DEST=9.184.167.115|100|dev0028.741310 ASHOST=9.184.167.115 SYSNR=15 CODEPAGE=1100 PCS=1
LOCATION   CPIC (TCP/IP) on local host with Unicode
ERROR partner '9.184.167.115:3315' not reached
TIME Thu Jul 16 15:21:40 2015
RELEASE 721
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3283
DETAIL NiPConnect2: 9.184.167.115:3315
SYSTEM CALL connect
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 2
 return code: RFC_FAILURE (1)
 error group: 102
 key: RFC_ERROR_COMMUNICATION

当 SAP 客户机不正确时抛出异常

问题: 当 SAP 客户机不正确时,抛出以下异常

错误日志显示如下内容:

Jul 16, 2015 3:25:21 PM com.ibm.j2ca.sap.SAPManagedConnection getJcoConnection
SEVERE: CWYAP1019E: An exception occurred while connecting to the SAP system. Error message: Initialization of destination 9.184.167.115|000|dev0028.145604 failed: Name or password is incorrect (repeat logon) on 9.184.167.115 sysnr 10 Explanation=An exception occurred while making the connection to the SAP application. The adapter cannot connect using the logon credentials that have been provided. UserAction=Refer to the exception message for more details.
Jul 16, 2015 3:25:21 PM com.approuter.studio.connectors.sap.endpoint.SapEndpointPanel testConnection2
SEVERE: Unable to connect to the endpoint. Please check the endpoint's information and try again. Detail: com.ibm.j2ca.base.exceptions.AuthenticationFailException: Initialization of destination 9.184.167.115|000|dev0028.145604 failed: Name or password is incorrect (repeat logon) on 9.184.167.115 sysnr 10

JCO 跟踪显示如下内容:

<* RfcReceive >Thu Jul 16 15:25:21,155< failed *>
>>>> [1] <unknown> R/3 <ac: 6> >>> CLOSE (45412733)
RfcException raised by system [SD1|eccdev1]:
 message: Name or password is incorrect (repeat logon)
 return code: RFC_SYS_EXCEPTION (3)
 error group: 104
 key: RFC_ERROR_SYSTEM_FAILURE*> RfcReceive ... 
 handle = 1
 parameter = <null> 
 parameter = <null> 
 tables = <null>  
>>> RfcClose [1] >Thu Jul 16 15:25:21,158< ...

当 SAP 用户名不正确时抛出异常

问题:当 SAP 服务器用户名不正确时,抛出以下异常

错误日志显示如下内容:

Jul 16, 2015 3:33:09 PM com.ibm.j2ca.sap.SAPManagedConnection getJcoConnection
SEVERE: CWYAP1019E: An exception occurred while connecting to the SAP system. Error message: Initialization of destination 9.184.167.115|100|cev0028.789483 failed: Name or password is incorrect (repeat logon) on 9.184.167.115 sysnr 10 Explanation=An exception occurred while making the connection to the SAP application. The adapter cannot connect using the logon credentials that have been provided. UserAction=Refer to the exception message for more details.
Jul 16, 2015 3:33:09 PM com.approuter.studio.connectors.sap.endpoint.SapEndpointPanel testConnection2
SEVERE: Unable to connect to the endpoint. Please check the endpoint's information and try again. Detail: com.ibm.j2ca.base.exceptions.AuthenticationFailException: Initialization of destination 9.184.167.115|100|cev0028.789483 failed: Name or password is incorrect (repeat logon) on 9.184.167.115 sysnr 10

JCO 跟踪显示如下内容:

<* RfcReceive >Thu Jul 16 15:33:08,861< failed *>
>>>> [1] <unknown> R/3 <ac: 6> >>> CLOSE (45885421)
RfcException raised by system [SD1|eccdev1]:
 message: Name or password is incorrect (repeat logon)
 return code: RFC_SYS_EXCEPTION (3)
 error group: 104
 key: RFC_ERROR_SYSTEM_FAILURE*> RfcReceive ... 
 handle = 1
 parameter = <null> 
 parameter = <null> 
 tables = <null>  
>>> RfcClose [1] >Thu Jul 16 15:33:08,863< ...
<* RfcClose *>

当 SAP 服务器密码不正确时抛出异常

问题:当 SAP 服务器密码不正确时,抛出以下异常

错误日志显示如下内容:

Jul 16, 2015 3:40:13 PM com.ibm.j2ca.sap.SAPManagedConnection getJcoConnection
SEVERE: CWYAP1019E: An exception occurred while connecting to the SAP system. Error message: Initialization of destination 9.184.167.115|100|dev0028.879503 failed: Name or password is incorrect (repeat logon) on 9.184.167.115 sysnr 10 Explanation=An exception occurred while making the connection to the SAP application. The adapter cannot connect using the logon credentials that have been provided. UserAction=Refer to the exception message for more details.
Jul 16, 2015 3:40:13 PM com.approuter.studio.connectors.sap.endpoint.SapEndpointPanel testConnection2
SEVERE: Unable to connect to the endpoint. Please check the endpoint's information and try again. Detail: com.ibm.j2ca.base.exceptions.AuthenticationFailException: Initialization of destination 9.184.167.115|100|dev0028.879503 failed: Name or password is incorrect (repeat logon) on 9.184.167.115 sysnr 10

JCO 跟踪显示如下内容:

>>>> [1] <unknown> R/3 <ac: 6> >>> CLOSE (46318530)
RfcException raised by system [SD1|eccdev1]:
 message: Name or password is incorrect (repeat logon)
 return code: RFC_SYS_EXCEPTION (3)
 error group: 104
 key: RFC_ERROR_SYSTEM_FAILURE*> RfcReceive ... 
 handle = 1
 parameter = <null> 
 parameter = <null> 
 tables = <null>  
 >>> RfcClose [1] >Thu Jul 16 15:40:13,842< ...
 <* RfcClose *>