cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION

Former Member
0 Kudos

Hi, I have developed some applications on my SAP Portal using JCo. Now I have this error:

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=192.168.6.38 SYSNR=10 GWHOST=192.168.6.38 GWSERV=sapgw10 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '192.168.6.38:sapgw10' not reached TIME Thu Jun 4 11:49:51 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2821 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 239 ERRNO TEXT Connection refused COUNTER 8

How can I do? Help me please. THANKS

Accepted Solutions (1)

Accepted Solutions (1)

pramod_gopisetty1
Active Contributor
0 Kudos

Hi,

In the system you created, try to maintain Fully Qualified Domain Name.

That should solve the issue.

please refer to the link below to create the system.

https://www.sdn.sap.com/irj/scn/wiki?path=/display/ep/howtoConnecttoSAPR3SystemthroughEnterprisePortal7.0Usingan+iView

Hope this helps.

Cheers-

Pramod

Answers (2)

Answers (2)

nitin_mahajan2
Contributor
0 Kudos

Before getting to your application, first of all, check the connection test of your JCOs. Is it success/Failure?

With the kind of logs you are showing, it should fail. Generally, while you install the server, the sapinstall does take care of all the permissions and services setup.

Regards,

Nitin

Edited by: Nitin Mahajan on Jun 16, 2009 7:53 PM

thulasi_td
Employee
Employee
0 Kudos

Hi,

Check your JCO connection settings.

- hostname and port number specified for the R/3 system is correct?

- sapgw<nr> is the gateway port. check the same in Transacation SMGW.

- check in your services.msc file and included the hostname and port of the R/3 system you are trying to connect.

Ensure your R/3 system is up and running.

Regards,

Thulasi

Former Member
0 Kudos

What I'have to do in services.msc?THANKS

Former Member
0 Kudos

The entry will be something like

sapmsJ2E 3601/tcp

where J2E is the instance name and 3601 is the message port.

Thanks,

Smita.