cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.mw.jco.JCO$Exception:Connect to SAP gateway failed

Former Member
0 Kudos

Hi All,

While registering Universal worklist system in UWL administration..im getting following error.

But gateway service is active in SAP ECC system level. Please suggest what went wrong.

Errors:

System R3Production: Thu Dec 11 19:18:47 GMT+05:30 2008

(Connector) :com.sap.netweaver.bc.uwl.connect.ConnectorException:Thu Dec 11 19:18:47 GMT+05:30 2008

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

Connect_PM TYPE=A ASHOST=112.167.0.152 SYSNR=03 GWHOST=112.167.0.152 GWSERV=sapgw03 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR service 'sapgw03' unknown

TIME Thu Dec 11 19:18:47 2008

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -3

MODULE nixxhsl.cpp

LINE 776

DETAIL NiHsLGetServNo: service name cached as unknown

COUNTER 16

Thanks for ur help

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Pradeep,

As Ayax suggested:

If your EP is windows, go to

WINDOWS/system32/drivers/etc/

edit file "services"

Add this string:

sapgw03 3303/tcp # SAP System Gateway Port

After that either restart the entire EP or recycle server nodes.

EP will pick up the entry and JCo will start working.

Your error does not indicate that the entry is missing on the R3 system, but the same entry should be there too.

Regards,

Slava

Answers (2)

Answers (2)

Ayax
Participant
0 Kudos

Check it in your Portal and your ECC server.

Regards,

Ayax

Ayax
Participant
0 Kudos

Check that you have defined sapgw03 in your services file, it should be an entry liky this:

sapgw03 3303/tcp # SAP System Gateway Port

Regards,

Ayax

Former Member
0 Kudos

Hi

Which Service file entry i need to mention. Is it my local host service entry or Portal Server service file entry? Request you please suggest.

thanks

Pradeep