cancel
Showing results for 
Search instead for 
Did you mean: 

JCO timeout parameter?

Former Member
0 Kudos

Dear all,

We are trying to change a timeout parameter for JCO connections. We use ESS-MSS on our portal and when a user leave it without using the log off process, the system keep some RFC connections during one hour. We would like to keep those connections during only 30 minutes. Do you know how to proceed? Is there any parameter to change?

Please note that according to the note 947376 we know that 6 jco metadata connections are always alive to improve performance. But there are some others (for the users) that we would like to close automaticaly after 30 minutes.

Many thanks for your help!

Best regards,

Olivier

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member193328
Active Participant
0 Kudos

I guess you can set the idle timeout property for the pool of jco connections which should take care of closing all connections in the pool. Check the JCO.Pool class api for this.

BR

Partha

Former Member
0 Kudos

Hello Guys,

Thank you very much for your answer. Is there a way to close all JCO connections automaticaly from the abap or java stack or should I set a timeout for each JCO?

Thanks in advance,

Olivier

Former Member
0 Kudos

In the JCo, you must set the 'jco.client.idle_timeout' property with the timeout value in seconds for this.

Note 593513 - Monitored RFC connections with IDLE timeout

Note 706495 - Exception when closing JCo connections during HTTP timeout

Former Member
0 Kudos

Oliver, YOu can change the default expriation time for web dynpro application. The default is 60. http://help.sap.com/saphelp_nw04/helpdata/en/09/a4d6a674bc1d4a9e74abf81bed3ef6/content.htm

-RK