about webservice timed out

connection to partner timed out after 60s: didn't find the answer yet

參考1:

1, https://service.sap.com/sap/support/notes/885580

Timeout settings: There are several timeout values that are involved when using the internal ITS:

rdisp/gui_auto_logout: This parameter applies to all kind of user sessions in the R/3 (SAPGui and ITS services). This profile parameter should be set larger or equal to the session timeout of the ITS service (see below).

Session timeout of an ITS service: For each ITS service a dedicated timeout can be set. Call transaction SICF => /sap/bc/gui/sap/its/ => => Service ptions => Session-Timeout: .

Timeout values of the Internet Communication Manager (ICM): There are two kind of timeout values that can be set in the ICM: PROCTIMEOUT and TIMEOUT.

Syntax: icm/server_port_ = PROT=HTTP, PORT=,
TIMEOUT=,
PROCTIMEOUT=-1

- PROCTIMEOUT: The PROCTIMEOUT argument of the ICM parameter icm_server_port_?? Defines the maximum processing time of a request in the kernel (the default value for processing time is 60 seconds). You should choose a value that fits to the runtime requirements of the ITS services you are using.

- TIMEOUT: The TIMEOUT argument of the ICM parameter icm_server_port_?? defines how long the connection between the browser and ICM should remain open (the default value is defined with the parameter icm/keep_alive_timeout and has the value 60). The parameter has no effect on the session/connection timeout but is used to optimize the performance of the HTTP connection (HTTP/1.1).

For further details, please refer to note #705013.

 

2, To do this, start Tcode SMICM.
Then Menu: Goto->Services->Menu->Go To->Service->Define. Specify a new port number, and a large “keep alive” time. When testing, just change the port number in the URL to use the newly defined one.

or RZ10.

Parameter : icm/keep_alive_timeout


Short description : keep alive timeout for inactive connections


Parameter description :

If no communication takes place over an existing connection for more
than a certain length of time, the connection is closed by ICM. The
standard value for the timeout is set with this parameter, but can
overridden for each service (see below).

A value of -1 deactivates the timeout. The connection is then never
closed by the ICM.
Caution:
Note that the user context in the work process is not closed after
this period of time. That timeout is defined using the profile
parameter %%rdisp/plugin_auto_logout%%.

Unit : Seconds

Application area: Internet Communication Manager

Default value : 60

參考2:

临时性修改可以直接进入SMICM,修改HTTP服务的Timeout参数。如果想永久性修改则可以选择修改SAP Profile文件。
文件的具体位置在\usr\sap\\SYS\profile中的DEFAULT.PFL,添加一项
icm/keep_alive_timeout = 300
icm/conn_timeout = 600

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22575590/viewspace-626022/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22575590/viewspace-626022/

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值