Quantcast
Viewing all articles
Browse latest Browse all 3876

JCo Client: connection lost

Hello everyone,

 

How can be SAP configured to retain JCo Client session if the connection is lost?

 

Please consider the following scenario:

  1. JCoDestination is created
  2. a function is called (e.g. STFC_CONNECTION)
  3. as the function is executed (in case of STFC_CONNECTION, a break point should be set to simulate that), the network connection to the server is lost.
  4. the server has completed the execution of the function, we are still offline, JCo Client is still within JCoFuntion.execute() and waiting.
  5. the network connection is restored. If it happens within approx. 15 seconds, the result of the function will be received from server correctly. After a longer period, no result will be received, and JCo will never return from JCoFunction.execute(). At this stage, I would like to receive some kind of exception or be able to receive the reply from SAP Server within up to 5 minutes after the connection loss.

 

Kind Regards,

 

m_OO_m


Viewing all articles
Browse latest Browse all 3876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>