on 01-30-2006 4:57 PM
Hi All,
I have not made any changes to my JCo connection on my local J2EE engine but when I try and execute my application with a BAPI call it fails and throws this error when I test the JCo as a standalone.,
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=B MSHOST=frces4066 GROUP=PUBLIC R3NAME=AM1 MSSERV=sapmsAM1 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner not reached (host 192.168.1.66, service 3300) TIME Mon Jan 30 17:53:08 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8605 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10060 ERRNO TEXT WSAETIMEDOUT: Connection timed out COUNTER 2
What could have caused this error as the JCo on my server connects correctly to the AM1 system its the local JCO that fails and there is no difference in the configuration of both the JCo connections.
Thanks in advance.
Best regards,
Divya Rao
Hi Divya,
You have to set the service name in the path as shown below
c:\winnt\system32\drivers\etc\services file.
Make sure that the service name and port no are correctly copied there
It should be in the format
sapms<SID> 3600/tcp
Hope this helps you
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.