on 2010 Apr 21 3:39 PM
I'm using JCO v3 with my own written DestinationDataProvider.
In the syslog I find
R49 communication error, CPIC return code 020, SAP rc 223
.
How can I force a proper disconnect at the end of the program? I call Envirnment.unregisterDestinationDataProvider() but that does not help. In JCo v2 I used JCO.Client.disconnect() and it works. This is described in the JCo Connectivity FAQ but there is no hint for Jco v3. I can not find the equivalent in JCo v3. What are the steps to close all connections properly?
Request clarification before answering.
set property DestinationDataProvider.JCO_POOL_CAPACITY as 0. This should close the connection immediately after call completion.
Regards,
Anurag Mahendru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.