Skip to Content
0
Former Member
Oct 06, 2009 at 10:26 AM

Connection time using AIX JCO3 takes 2minutes for first time

31 Views

We have a AIX system in our lab

> uname -a

AIX pun-lpar-idm01 3 5 000B973CD600

We have downlaoded the SAP JCO SDK fro AIX 64bit as tgz file (3.451

KB), April 16, 2009 .

I wrote an sample code to test connection with a server in the same

network.

From the trace we can see that

<*

*> RfcOpen

TYPE=A DEST=ABAP_AS_WITH_POOL USER="mcaisuca" PASSWD=**********

CLIENT=100 LANG=E ASHOST=idm-sap-700 SYSNR=09 TRACE=1 PCS=1 >Mon

Oct 05 14:45:07,557<

>>>> [1] <unknown> R/3 <ac: 1> >>> OPEN (<initial>)

UUID: ab_coxopen create uuid:A68443B0-B18B-11DE-B818-CB7B8948E29F

>> CPIC native call SAP_CMINIT3 [1] convid: <initial> 14:47:01,996

sym_dest_name: ABAP_AS_WITH_POOL

lu: idm-sap-700

tp: sapdp09

gw_host: idm-sap-700

gw_serv: 3309

prot: I

snc_mode: 0

snc_qop: 8

snc_myname: null

snc_partnername: null

snc_lib: null

<< CPIC native call SAP_CMINIT3 [1] convid: 39492546 rc: 0

14:47:02,004

>> CPIC native call CMSPLN [1] convid: 39492546 14:47:02,004

<< CPIC native call CMSPLN [1] convid: 39492546 rc: 0 14:47:02,005

>> CPIC native call CMALLC [1] convid: 39492546 14:47:02,005

<< CPIC native call CMALLC [1] convid: 39492546 rc: 0 14:47:02,005

Send RFCHEADER [1]: 01/BIG/IEEE/SPACE/1100

Send UNICODE-RFCHEADER [1]: cp:4102/ce:IGNORE/et:8/cs:2/rc:0x00000023

UUID: send_rfcuuid A68443B0-B18B-11DE-B818-CB7B8948E29F

>>> RfcCall [1] >Mon Oct 05 14:47:02,143< ...

IT took almost 2 minutest to respond back.

Pl find the attached source code,trace files for more details.

The delay is only shown for the first time in connection.

Note:

Similar behaviour is not observed on windows 32 and 64bit and solaris

64 bit for the same SAP server.

Best Regards

Manoj