cancel
Showing results for 
Search instead for 
Did you mean: 

connection to partner broken

Former Member
0 Kudos

At opening connection jco throws out the message:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connect_PM GWHOST=/H/10.254.125.142/H/192.168.8.13/H/172.30.2.66/H/, GWSERV=3299, ASHOST=172.30.2.42, SYSNR=10

LOCATION SapRouter on sapr2pnos

ERROR connection to partner broken

To me it is not clear why:

ERROR connection to partner broken

Thus SUPGUI works well.

Powers to what transactions are necessary to use JCO?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nick,

GWSERV=3299 is wrong. It should be GWSERV=33XX, either you are specifying wrong parameters for connection or your services file (<windows>/system32/drivers/etc/services) has wrong entry , it should have entries like -

sapgw00 3300/tcp

sapgw01 3301/tcp

sapgw02 3302/tcp

sapgw03 3303/tcp

....

....

Typically you will use sapgw00.

Cheers,

Sanjeev

Former Member
0 Kudos

Have you tried starting Sapgui using prog sapgui not saplogon with the connection parms you specified ???

I know you are using some SAP router in between.

Make sure you get the connection parms right.

The connection string does not look quite right to me.

Enjoy