93.SAP MII开发的一个系统响应错误 Error code: ICMETIMEOUT(二)

目录

1.背景        

2.Timeout Options for ICM

2.1Timeout for opening connection:

2.2Keepalive timeout for the network connection:

         2.3Processing timeout in the back end:

3.最终解决方案

3.1配置参数

3.2重启服务

4.参考SAP-Timeout Options for ICM


1.背景        

        在上一篇(地址如下)中描述了一种ICM TIMEOUT问题的解决方法,这个看上去只是一个临时解决方法,并没有从根本上解决问题。56.SAP MII开发的一个系统响应错误 Error code: ICMETIMEOUT_this error page was generated by sap web dispatche-CSDN博客

         当这个问题再次频繁发生时,我们重新调查,开始去查看ICM TIMEOUT的配置,并最终解决。

2.Timeout Options for ICM

        ICM有不同的timeouts,是由参数配置文件控制的:

2.1Timeout for opening connection:

icm/conn_timeout

This parameter is used to set the timeout when the connection is opened. By default, if the timeout is exceeded, an error page with the message “404 Resource not found: Partner not reached” is displayed.

        此参数用于设置打开连接时的超时。默认情况下,如果超过超时时间,将显示一个错误页面,其中显示消息“404 Resource not found:Partner not reach”。


2.2Keepalive timeout for the network connection:

icm/server_port_<xx> – option TIMEOUT and icm/keep_alive_timeout

The keep-alive timeout specifies how long the network connection remains open once the request has been successfully processed.

        keep-alive timeout指定了请求成功处理后网络连接保持打开的时间。

The keepalive timeout can be defined globally for all ICM services by parameter icm/keep_alive_timeout. It can also be defined for individual services by parameter icm/server_port_< xx > = ...,TIMEOUT=< s >. This overrides parameter icm/keep_alive_timeout for the individual service.

        可以通过参数ICM/keep_alive_timeout为所有ICM服务全局定义keep-alive timeout。它也可以通过参数icm/server_port_<xx>=…为单个服务定义。。。,TIMEOUT=<s>。这会覆盖单个服务的参数icm/keep_alive_timeout。

The time period is set in parameter icm/server_port_< xx > with option TIMEOUT (in seconds)

        
 
2.3Processing timeout in the back end:

icm/server_port_<xx> – option PROCTIMEOUT

The processing timeout specifies the timeout between sending an HTTP request and receiving an HTTP response.

        处理超时指定了发送HTTP请求和接收HTTP响应之间的超时时间。

  • ICM as HTTP Server: If the ICM receives a request and has forwarded it for processing (to AS ABAP or AS Java), the ICM waits for the server response until the timeout has expired. The work process context is then closed, the client is notified with a Connection Timeout message.ICM作为HTTP服务器:如果ICM收到请求并将其转发给as ABAP或as Java进行处理,ICM将等待服务器响应,直到超时结束。然后关闭工作流程上下文,向客户端发送连接超时消息
  • ICM as HTTP Client: If the ICM for the HTTP request concerned is used as a client, and forwards an outbound request from the SAP NetWeaver AS, the processing timeout specifies the time the ICM waits for until there is a response from the network. This can also be exceeded if there are long-running applications in the network.ICM作为HTTP客户端:如果相关HTTP请求的ICM用作客户端,并从SAP NetWeaver as转发出站请求,则处理超时指定ICM等待网络响应的时间。如果网络中有长时间运行的应用程序,也可能超过此时间。

3.最终解决方案

3.1配置参数

3.2重启服务

然后就OK了。 

4.参考SAP-Timeout Options for ICM

SAP Help Portal

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

坐忘3GQ

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值