Unable to connect to SAP gateway to RFC server failed(hostname unknow)
Hi All,
I am trying to create a new Model(to connect to SAP R/3 server) using the following steps:
1.Selecting Import Adaptive RFC Model
2.Entering Model name,package,default logical system names
3.Selecting the single server option and giving the details of the SAP R/3 server.
When I try to connect it gives me the following error :
-Connect from SAP gateway to RFC server failed.
Also it mentions :
<b>"ERROR hostname 'sapR3' unknown "</b>
Where <b>sapR3</b> is the entry corresponding to the IP address in the host file.
Further I am able to establish a telnet session using the same hostname in command prompt.
I have searched the Internet for solutions, but I haven't found any yet.Any ideas?
Regards,
Kshitij Agrawal
Hi,
Please check if the hostname that you specify in the "Reimport Model" GUI of NWDS matches with the application server name specified in your R/3 system.The same can be verified by following three simple steps:
1) Open the SAP LogOn.
2) Choose the server to which you wanted to connect and right click on it to get the "properties" in the context menu.
3) Look for the value entered in the field "Application Server" in the properties window.
Hope this helps.
Similar Messages
-
Connect from SAP gateway to RFC server failed - Java StandAlone app X SAP RAC System
Dears,
I'm developing a Java application (RFC SERVER) with JCo3 and I need to connect to SAP RAC system.
I have configured the TCP/IP connection via transaction SM59, but when I try to start my server I face the error below (dev_jco_rfc.trc):
==========================================================================================
**** Error file opened at 20140714 112024 Brasilia Time Rel 3.0.10 (2013-08-08) [720.440]
Error: >Mon Jul 14 11:20:24,636< RfcException: [null]
message: Connect from SAP gateway to RFC server failed
Connection parameters: TYPE=A DEST=VSPAGUE ASHOST=cpe1601 SYSNR=01 SAPROUTER=/H/155.56.49.28 PCS=1
LOCATION SAP-Gateway on host ld7624.dmzwdf.sap.corp / sapgw01
ERROR hostname 'cpe1601' unknown
TIME Mon Jul 14 16:20:25 2014
RELEASE 740
COMPONENT NI (network interface)
VERSION 40
RC -2
MODULE /bas/740_REL/src/base/ni/nixxhl.cpp
LINE 193
DETAIL NiHLGetNodeAddr: hostname cached as unknown
COUNTER 3
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
==========================================================================================
This problem happens when my app executes the line:
JCoServer myServer = JCoServerFactory.getServer(myServerName);
My system properties:
jco.client.lang=EN
jco.destination.peak_limit=10
jco.client.client=800
jco.client.passwd=********
jco.client.user=********
jco.client.sysnr=01
jco.destination.pool_capacity=3
jco.client.ashost=/H/155.56.49.28/H/cpe1601
jco.server.connection_count=3
jco.server.gwhost=/H/155.56.49.28/H/cpe1601
jco.server.progid=VSPAGUE
jco.server.gwserv=sapgw01
jco.server.repository_destination=VSPAGUE
Using SAP Logon i can connect to server cpe1601 system E16 without problems.
Please, I really need some help, because my knowledge on SAP platform is minimum.Hi Markus,
Changing ASHOST=ld7624.dmzwdf.sap.corp as you have suggested, I got the error message: Connect to SAP gateway failed ...
As you could see, the host I'm connecting is from SAP RAC Service.
Here in our company we have only SAP Logon and my RFC Application, and I can connect to SAP remote system via SAP Logon with this settings:
System Connection Parameters
Description: SAP ECC 6.0
Application Server: cpe1601
Instance Number: 01
System ID: E16
SAProuter String: /H/155.56.49.28/H/
Below the connection information I received from SAP RAC SUPPORT for testing purposes:
E16 System:
SID: E16
Client: 800
System Number: 01
Server: cpe1601
Component Version: SAP ERP Central Component 6.0 Enhancement Pack 6 Suite on HANA
User: ********
Password: ********
SAProuter String:
If you don't plan to use SAPRouter at your end,
/H/155.56.49.28/H/ -
Crystal report- Connect from SAP gateway to RFC server failed
Hi All,
I am trying to connect to a SAP R3 system from crystal reports but it gives me below error.
Please note : Transports have been imported and also the roles CRYSTAL_ENTITLEMENT and CRYSTAL_DESIGNER. My user is a member of these roles which were release along with Best practice reports v1.31
Error :
Logon failed.
Details: CMALLC : rc= 27 > Connect from SAP gateway to RFC server failed
Connect_pm GWHOST=10.10.4.63, gwserv=SAPGW30, SYSNR= 30
Location SAP-gateway on host ply.log.com/sapgw30
Error timeout during allocate
TIME ....
Release 700
Component SAP Gateway
Version 2
RC 242
Module gwr3cpic.c
LINE 1996
Detail no connect of TP sapdb30 from host 10.10.4.63 after 20 sec
Can you please help us solving this error.
Thanks
ChetanHi Stratos,
The SAP Version is ECC 6.0.
The below transports have been imported.
u2022 Open SQL Connectivity transport (K900574.r21 and R900574.r21)
u2022 Info Set Connectivity transport (K900575.r21 and R900575.r21)
u2022 Row-level Security Definition transport (K900576.r21 and R900576.r21)
u2022 Cluster Definition transport (K900585.r21 and R900585.r21)
u2022 Authentication Helpers transport (K900578.r21 and R900578.r21)
Thanks & Regards,
Chetan -
Connect from SAP gateway to RFC server failed
Good day and a happy new year to you all!
I am failing to connect to my SAP BW system from BEx. The logon fails with this message:
>>>>>Start<<<<<<<<<<
Error Group
RFC_ERROR_COMMUNICATION
Message
Connect from SAP gateway to RFC server failed
Connect_PM GWHOST=10.16.64.77, GWSERV=sapgw02, ASHOST=10.16.64.77, SYSNR=02
LOCATION SAP-Gateway on host bwsys / sapgw02
ERROR timeout during allocate
TIME Sat Dec 31 13:16:19 2005
RELEASE 640
COMPONENT SAP-Gateway
VERSION 2
RC 242
MODULE gwr3cpic.c
LINE 1785
DETAIL no connect of TP sapdp02 from host 10.16.64.77 after 22 sec
COUNTER 2
>>>>>>>>>END<<<<<<<<<<<<
I only experience this problem when connecting using any BEx component, but, I can successfully connect to the SAP BW system from SAP gui.
Additionally, I have the service 'sapdp02' defined in the services file, both on the workstation and the server.
What could be wrong or missing in my configuration?
Regards,
Joao.hi Joao,
check if oss note 447882 relevant
you may ask basis for help
Symptom
You want to access the customer system using the BEx Analyzer.The connenction fails:The system displays the error RFC_ERROR_COMMUNICATION.In the detail screen, the system displays message "Partner not reached" (host 192.168.4.2, service sapgw 00).
Other terms
SAP Gateway, RFC_ERROR_COMMUNICATION, partner not reached
Reason and Prerequisites
The SAP gateway host is deactivated or the TCP/IP port 33xx (where xx corresponds to the system number) is not open.
Solution
Issue statement ping <IP address> (In this example:192.168.4.2) No reply: Boot SAP Gateway host required.
An answer:Check whether the TCP/IP port 33xx is open (where xx corresponds to the system number) and start the SAP gateway.
The TCP/IP port is also partially defined in the services file as an sapgw<SID> or sapgwxx entry (where xx corresponds to the system number). The services file is in the Windows directory or in WinNT/System32/drivers/etc. -
Error: Connect from SAP gateway to RFC Server failed
Hi
I am trying to connect SAP server using the java (JCO connection), and getting following error. While I am able to connect to the same sever using SAP Logon pad with the same ipaddress (hostname) and logon credentials.
Please kindly help.
Erro: Connect from SAP gateway to RFC server failed.
Connect_PM GWHOST = hostname, GWSER = sapgw03, ASHOST=hostname, SYSNR=03
LOCATION SAP-Gateway on host hostname / sapgw03
ERROR timeout during allocate
TIME Wed Oct 31 05:31:45 2007
RELEASE 640
COMPONENT SAP-Gateway
VERSION 2
RC 242
MODULE gwr3cpic.c
LINE 1795
DETAIL no connect of TP sapdp03 from host hostname after 22 sec
COUNTER 3Hi K Patil,
Acording to me you are faceing this issue because the entry of your backend System is not in the SLD (System Landscape Directory ) of your server.
to make this work you have to make entry in the SLD of your server
fort that plesae acess this link.
Re: JCo connection Error
Re: wt is SLD.. how to do configure it
Please Reward Points if Helpfull.
Regards
Vinit
Edited by: Vinit Soni on Dec 19, 2007 7:20 AM -
RFC logon failed with message: Failed: Connect to SAP gateway failed
I installed CI instance fine and i am stopped here with this error at the end of DB instance install. Could someone let me know what could be the reason for this. Is there any fix or workaround to continue the install.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
CAbRfcImpl::setRfcConnectParam
RFC parameter ASHOST set to value hostSAP.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
CAbRfcImpl::setRfcConnectParam
RFC parameter SYSNR set to value 09.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:543]
CAbRfcImpl::checkConnectInfo
RFC connection information checked successfully.
ERROR 2006-09-16 01:13:02 [iaxxrfcimp.cpp:450]
CAbRfcImpl::openRfcConn
FRF-00007 Unable to open RFC connection.
ERROR 2006-09-16 01:13:02
CJSlibModule::writeError_impl()
FRF-00063 RFC logon failed with message: Failed: Connect to SAP gateway failed
Connect_PM GWHOST=hostSAP, GWSERV=sapgw09, ASHOST=hostSAP, SYSNR=09
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host hostSAP, service 3309)
TIME Sat Sep 16 01:13:02 2006
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r_mt.cpp
LINE 8528
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 4
Thanks,
Ramat the end of the database instance installation SAPInst is doing some RFCs to the CI.
The logfile states that the gateway on host hostSAP with the systemnumber 09 is not reachable.
Please check if you have started the central instance on this machine.
peter -
Rfc conn.: Connect to SAP gateway failed , edit: Group PUBLIC not found
Hello!
I want to create a RFC connection.
In the "Connection and Transport"-Tab I fill out the fields: Target Host, System Number and System ID.
If I save the destination the fields Gateway-Host and Gateway-Service will be automatically filled out with the same input value of the Target Host field.
But there is no gateway for this system and if I ping the destination the following error message is shown:
Error during ping operation: Connect to SAP gateway
failed Connect_PM TYPE=A ASHOST=sma82 SYSNR=01
WHOST=sma82 GWSERV=sma82 PCS=1 LOCATION CPIC (TCP/IP)
on local host with Unicode ERROR service sma82
unknown TIME Thu Sep 27 11:27:37 2007 RELEASE
710 COMPONENT NI (network interface) VERSION 39 RC
-3 MODULE nixxhsl.cpp LINE 643 DETAIL
NiHsLGetServNo: service name cached as unknown
COUNTER 6
How can I handle this?Hi,
I have attempted to configure the Destination with a co-worker who successfully configured a Destination to the same R/3-System but with SAP NetWeaver 2004s and not with SAP Netweaver CE 7.1 SR1.
He said that in his case he connects to the Message-Server so we activated Load Balancing.
The Message-Server will be found now but the Logon Group cant be found:
Error during ping operation: Connect to message server host failed Connect_PM TYPE=B MSHOST=xxx.xxx.xxx GROUP=PUBLIC R3NAME=TDE MSSERV=sapmsTDE PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR <b>Group PUBLIC not found</b> TIME Tue Oct 02 12:28:09 2007 RELEASE 710 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4392 DETAIL LgIGroupX COUNTER 15
But the Logon Group is PUBLIC! I checked it with SMLG.
Any ideas?
Regards,
Armin -
RFC JCo 3 unable to connect to SAP AS with sapgw01 service
Greetings - help is greatly appreciated.
I have an RFC server that uses JCo 3.0.5 to connect to the SAP Application server. When the RFC server is run from a Unix system the gateway service and port needs to be added to the unix systems /etc/services file. We have two (actually 21) sap systems, one has a gateway service id of sapgw00, the other sapgw01. We added both gateway services with port 3300 to the Unix /etc/systems file and are able to connect to the sapgw00 system but not the sapgw01 system. The sapgw01 system is returning the following error. Without sapgw01 in the /etc/services file we get a different error - so it's doing something.
Thanks in advance
Status: Server FLRFCSRV state changed from [STOPPED] to [STARTED]
>>> Exception error occurred on FLRFCSRV connection null
com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Thu Apr 29 09:16:10 CDT 2010.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems.
Could not start server: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:10 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 1
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1168)
at com.sap.conn.jco.rt.DefaultServer.openConnections(DefaultServer.java:1057)
at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:1004)
at com.sap.conn.jco.rt.DefaultServerManager$DispatcherWorker.run(DefaultServerManager.java:299)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:10 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 1
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2135)
at com.sap.conn.jco.rt.ServerConnection.accept(ServerConnection.java:380)
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1149)
... 4 more
Caused by: RfcException: [null]
message: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:10 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 1
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255)
at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcaccept(RfcIoControl.java:43)
at com.sap.conn.rfc.api.RfcApi.RfcAccept(RfcApi.java:41)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2121)
... 6 more
Status: Server FLRFCSRV state changed from [STARTED] to [DEAD]
>>> Exception error occurred on FLRFCSRV connection null
com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Thu Apr 29 09:16:12 CDT 2010.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next .
Could not start server: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:12 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 2
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1168)
at com.sap.conn.jco.rt.DefaultServer.openConnections(DefaultServer.java:1057)
at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:1004)
at com.sap.conn.jco.rt.DefaultServerManager$DispatcherWorker.run(DefaultServerManager.java:299)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:12 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 2
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2135)
at com.sap.conn.jco.rt.ServerConnection.accept(ServerConnection.java:380)
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1149)
... 4 more
Caused by: RfcException: [null]
message: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:12 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 2
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255)
at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcaccept(RfcIoControl.java:43)
at com.sap.conn.rfc.api.RfcApi.RfcAccept(RfcApi.java:41)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2121)
... 6 more
A startup error occurred - please view the log file for additional information
>>> Exception error occurred on FLRFCSRV connection null
com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Thu Apr 29 09:16:18 CDT 2010.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next .
Could not start server: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:18 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 3
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1168)
at com.sap.conn.jco.rt.DefaultServer.openConnections(DefaultServer.java:1057)
at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:1004)
at com.sap.conn.jco.rt.DefaultServerManager$DispatcherWorker.run(DefaultServerManager.java:299)
at java.lang.Thread.run(Thread.java:619)
Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:18 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 3
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2135)
at com.sap.conn.jco.rt.ServerConnection.accept(ServerConnection.java:380)
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1149)
... 4 more
Caused by: RfcException: [null]
message: Connect to SAP gateway failed
Connect parameters: TPNAME=FLRFCSRV GWHOST=sapd2srv GWSERV=sapgw01
ERROR partner '10.165.67.157:sapgw01' not reached
TIME Thu Apr 29 09:16:18 2010
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 3253
DETAIL NiPConnect2: 10.165.67.157:3300
SYSTEM CALL connect
ERRNO 239
ERRNO TEXT Connection refused
COUNTER 3
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255)
at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcaccept(RfcIoControl.java:43)
at com.sap.conn.rfc.api.RfcApi.RfcAccept(RfcApi.java:41)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2121)
... 6 moreHello Sir,
I am a student who is pursuing a project that deals with JCo 3.
I read your question on the forum and think that you have done the JCo stuff and can answer my questions.
Kindly, try to shed some light on following question:
Q1: I simply want to start with connecting my SAP system. I have a user ID and password for the same.
I saw some examples where they use "JCo.createClient(....)" and "JCo.client.connect()" to simply connect the client but
when I type in the code it shows me an error, because they are using package "com.sap.mw.jco" but since I am using JCo3,
I don't have that package instead I have "com.sap.conn.jco" which do not have createClient function.
Q2: By setting the classpath for "sapjco.jar" I was able to compile one of the sample programs but could not run it. Do you
know how to run the SAP JCo program.
Your guidance will be highly appreciated
-Thanks
-Dmukhi -
FRF-00063 RFC logon failed with message: Failed: Connect to SAP gateway fa
We are getting below error while installing CRM 4.1 on oralce,sunsolaris.
ERROR 2007-09-27 01:19:46
CJSlibModule::writeError_impl()
FRF-00063 RFC logon failed with message: Failed: Connect to SAP gateway failed
Connect_PM GWHOST=uapkb2dh, GWSERV=sapgw29, ASHOST=uapkb2dh, SYSNR=29
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host uapkb2dh, service 3329)
TIME Thu Sep 27 01:19:46 2007
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r_mt.cpp
LINE 8642
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 2
Regards,
Madhu.We are getting below error while installing CRM 4.1 on oralce,sunsolaris.
ERROR 2007-09-27 01:19:46
CJSlibModule::writeError_impl()
FRF-00063 RFC logon failed with message: Failed: Connect to SAP gateway failed
Connect_PM GWHOST=uapkb2dh, GWSERV=sapgw29, ASHOST=uapkb2dh, SYSNR=29
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host uapkb2dh, service 3329)
TIME Thu Sep 27 01:19:46 2007
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r_mt.cpp
LINE 8642
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 2
Regards,
Madhu. -
Connect to SAP Gateway failed.
Hello. When I setup the databridge it errors out. When I check for processes, it shows sapmsj2e as being on port 3601 in my services file. But I can't launch a webdyn pro or access my machine with the sap gui. Any ideas?
Heres the log file snipped
352 11/16/04 1:28:12 PM [SAPEngine_Application_Thread[impl:3]_12] INFO com.sap.lcr.webui.DPBridgeServlet: Data Supplier Bridge started.
#351 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO exception processed.
#350 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: On server exception: Terminated thread.
#349 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO Server exception received: Server startup failed at Tue Nov 16 13:28:09 PST 2004.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
Could not start server: Connect to SAP gateway failed
Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR connection to partner broken
TIME Tue Nov 16 13:28:09 2004
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -6
MODULE ninti.c
LINE 784
DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
SYSTEM CALL recv
COUNTER 88
Thrown:
com.sap.mw.jco.JCO$Exception: Server startup failed at Tue Nov 16 13:28:09 PST 2004.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
Could not start server: Connect to SAP gateway failed
Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR connection to partner broken
TIME Tue Nov 16 13:28:09 2004
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -6
MODULE ninti.c
LINE 784
DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
SYSTEM CALL recv
COUNTER 88Also. If I check my bridge connections it shows this:
[DOWN] JCO/RFC server threads
Is that related to the other problem?
Thanks, Graeme. -
Connect to SAP gateway failed - internal error
Hi, I've developed a simple .NET application that connects to a SAP system and makes a function call using a SAP Connector Proxy object. Everything works fine in my workstation, but deployment doesn't. I'm also deploying the following libraries: SAP.Connector.dll, SAP.Connector.Rfc.dll and librfc32.dll.
The fact is that deployment works fine in some servers, but not in others. I've checked that .NET Framework is installed (both versions, 1.1 and 2.0). I've checked the "WINDOWS\system32\drivers\etc\services" file. What else should I check? Any idea? Every suggestion would be appreciated.
The error message is the following:
Connect to SAP gateway failed Connect_PM GWHOST=xxx.xxx.xxx.xxx, GWSERV=sapgw00, ASHOST=xxx.xxx.xxx.xxx, SYSNR=00 LOCATION CPIC (TCP/IP) on local host ERROR internal error TIME Mon Nov 13 16:23:08 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -1 COUNTER 1
And the connection string:
CLIENT=100 USER=****** PASSWD=****** LANG=EN ASHOST=xxx.xxx.xxx.xxx SYSNR=0
Thanks in advanceHi Daniel,
Can you connect to the particular system by using SAPGUI ?
if yes, then your librfc32 file is working fine.
NCo internally consumes it's functions.
Other points to check are
1> service name as appears from within the r/3 system [transaction : smgw]
2> NCo 2.0 uses .net 1.1 & nCo 2.5 uses .net 2.0, do you have both versions running parallely ?
3> gateway errors are infrastructure issues, please verify your firewall settings for the relevant protocols : http / https & also sap ports 3300 onwards.
the services file you have checked will list the ports that need to be opened on the firewall [in the case of multi - domain applications]
4> check in your 'hosts' file [same directory as your 'services' file]
This file contains the mappings of IP addresses to host names. Each
entry should be kept on an individual line. The IP address should
be placed in the first column followed by the corresponding host name.
The IP address and the host name should be separated by at least one
space.
Additionally, comments (such as these) may be inserted on individual
lines or following the machine name denoted by a '#' symbol.
For example:
102.54.94.97 rhino.acme.com # source server
38.25.63.10 x.acme.com # x client host
with respect,
amit -
Connect to SAP gateway failed Connect_PM TYPE=B
Hi experts,
I get the following error when i ping through JCO destinations on portals.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=B MSHOST=imtsapdev01 GROUP=CLUST R3NAME=DMI MSSERV=sapmsDMI PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '127.0.0.1:3310' not reached TIME Tue Jan 27 16:39:54 2009 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2823 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1
However my JCO destinations were working perfectly until recently. I checked on the logon group. I have one called CLUST, which i use for this purpose.
I have also checked both service files and they have the following for the ECC server im connecting to.
3610 because its system number 10 i am connecting to.
sapmsDMI 3610/tcp
From the JCE destinations screen i cannot even ping the server. I can though when i log on to the server through remote desktop.
thanks and regards
dilanke
as a reply to nishants posts.
goto rz70
give hostname -->
service --> sapgw00 (sapgw(instance number)
execute it
click on yes
check rfc call (success or failed)
I have done this. i left hostname as "blank" gave service as "sapgw10"
The following is what i got as the output.
0: IMTSAPDEV01_DMI_10 : Execute program: SLDRFC
0: IMTSAPDEV01_DMI_10 : Execute program: SLDMSGSRV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDIPSERV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDINSTSP
0: IMTSAPDEV01_DMI_10 : Execute program: SLDINSTSC
0: IMTSAPDEV01_DMI_10 : Execute program: SLDGWSRV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDDBSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDCOMPSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDCLIENT
0: IMTSAPDEV01_DMI_10 : Execute program: SLDBCSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDAPPL_SERV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDASSOC
0: IMTSAPDEV01_DMI_10 : Collection of SLD data finished
0: IMTSAPDEV01_DMI_10 : Data collected successfully
0: IMTSAPDEV01_DMI_10 : RFC data prepared
0: IMTSAPDEV01_DMI_10 : Used RFC destination: SLD_NUC
0: IMTSAPDEV01_DMI_10 : RFC call failed: Error opening an RFC connection.
0: IMTSAPDEV01_DMI_10 : Existing periodic jobs removed. Number: 1
0: IMTSAPDEV01_DMI_10 : Program scheduled: 20090127 184357
1: IMTSAPDEV01_DMI_10 : Event-controlled job already exists; scheduling not necessary
so i guess its not successful. when i look at rz70 of a server where this works correctly its not succsessful either
if it is success then technical system name will be in sld
to restart sld --> /sld --> administration --> stop server --> restart server
or check in VA --> SLD data supplier value --> Runtime
I checked this and i do not see aa problem. you have configuration status as valid and send reult as Success
Services file is locted on OS level of R3 system--> Goto --> Start --> Run -> (type)Drivers(enter) --> etc -> (here is services file)
check ur r/3 server entry is there or not,
I have the followng in the service file for the server
sapmsDMI 3610/tcp
if not add itHi Experts,
when ilook at the remote gateway properties in SMGW this is what i see on the R/3 server. ive looked at my other system which i can connect to and there isnt much of a difference in the parameters. How can test this to see if it works?
Details of remote gateway
entry = 0
state = CONNECTED
local = 1
system type = REMOTE_GATEWAY
client = FALSE
wait for frag write = 0
suspended = 0
read/write socket = 4
HANDLE = 4
TIME = Sun Oct 19 18:54:14 2008
SOCKET = 1352
STAT = NI_CONNECTED
TYPE = STREAM IPv4
OUT = 48225 messages 48225 bytes
IN = 1 messages 64 bytes
LOCAL = 127.0.0.1:3310
REMOTE = 127.0.0.1:1297
OPTIONS =
connect = Sun Oct 19 18:52:17 2008
last request = Thu Jan 29 13:09:58 2009
conversation no = 0
thanks and regards,
dilanke -
Connect to SAP gateway failed Connect_PM TYPE=A
In past 4-5 days, some of messages are not processed in our XI production server.
I got the following error in the falied messages:
Seem to be some parameter need to be update for sap gateway.
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=dbcinpr SYSNR=15 GWHOST=dbcinpr GWSERV=sapgw15 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR connection to host dbcinpr, service sapgw15 timed out TIME Sun Oct 21 09:09:50 2007 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -12 MODULE nixxi_r_mt.cpp LINE 1067 DETAIL NiPConnect COUNTER 1</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
Pls let us know if it is parameter related prolem or some other issue.
Regards
AmarHi Amar!
Test the status of the RFC destinations in transaction SM59 of XI and R/3 systems.
Also check this thread, I think they might be helpful:
Communication channel not working
RFC Receiver Adapter Error
JCO Destination creation error
RFC_ERROR_COMMUNICATION - time out
Reg Jco connections
RFC Adaptive Model,JCO destinations error
Regards,
Matias
PS: please award points if helpful. -
RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
HI All,
Im getting the following error while trying to call a RFC through JCO.
{0}#1#com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=R3ip SYSNR=00 GWHOST=R3ip GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR hostname 'R3ip' unknown
TIME Thu May 15 12:13:36 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -2
MODULE niuxi.c
LINE 1529
DETAIL NiPGetHostByName2: hostname 'R3ip' not found
SYSTEM CALL gethostbyname_r
COUNTER 1
I know it has something to do with the entries in the services and hosts files of the portal server. Please guide me on links from help.sap.com on this.HI Dagfinn,
Very helpful answer. Thanks.
When you say :
4. Normally, the sap system should be registered in DNS, and you should need any. --- How do I check if my SAP system is registerd in the DNS? Is there some detail explaination on this.
Also,
I have these observations :
1. I checked the services file on my portal server and the entry for "sapgw00 3300/tcp" is maintained there.
2. There is no entry of my SAP ECC box in the hosts file of my portal server.
3. The group PUBLIC is not maintained in SMLG transaction.
4. I am using R3ip only in my code, there is no other place that this "R3ip" is being used.
Following is my code :
import com.sapportals.htmlb.page.*;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.event.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.resource.IResource;
import com.sapportals.portal.prt.session.*;
import java.math.*;
import java.util.*;
import java.util.Calendar;
import com.sapportals.portal.prt.service.jco.IJCOClientService;
import com.sap.mw.jco.JCO;
import com.sapportals.portal.prt.service.jco.IJCOClientPoolEntry;
import com.sap.mw.jco.IFunctionTemplate;
import com.sap.mw.jco.IRepository;
public class ReadModelData extends PageProcessorComponent {
public DynPage getPage(){
return new ReadModelDataDynPage();
public static class ReadModelDataDynPage extends JSPDynPage{
private class4bean class4bean = null;
protected IPortalComponentRequest request;
protected IPortalComponentSession session;
protected IPortalComponentContext context;
protected IPortalComponentProfile profile;
protected String userId;
protected String sapSystem;
private final static int INITIAL_STATE = 0;
private final static int OUTPUT_STATE = 1;
private final static int ERROR_STATE = 2;
private int state = INITIAL_STATE;
public void doInitialization(){
System.out.println("cpCv - Code is rendered: " + Calendar.getInstance().getTime().toString());
state = INITIAL_STATE;
DefaultTableViewModel tvm = new DefaultTableViewModel();
tvm = getData();
//class4bean = new class4bean();
class4bean.setModel(tvm);
session.putValue("class4bean", class4bean);
public DefaultTableViewModel getData() {
com.sap.mw.jco.IRepository repository;
JCO.Pool pool = JCO.getClientPoolManager().getPool("R3");
/* if (pool == null) {
// JCO.removeClientPool("R3");
JCO.addClientPool(
"R3",
10,
"040",
USER,
PWD,
"EN",
"R3ip",
"00");
if (pool == null) {
// JCO.removeClientPool("R3");
JCO.addClientPool(
"R3",
10,
"040",
"uname",
"pwd",
"EN",
"portalserver",
"40");
repository = JCO.createRepository("TTL", "R3");
JCO.Client client = null;
// Get a function template from the repository
IFunctionTemplate ftemplate =
repository.getFunctionTemplate("BAPI_SALESORDER_GETSTATUS");
// Create a function from the template
JCO.Function function = ftemplate.getFunction();
client = JCO.getClient("R3");
JCO.ParameterList input = function.getImportParameterList();
input.setValue("0053100700", "SALESDOCUMENT");
client.execute(function);
JCO.Table sales_orders =
function.getTableParameterList().getTable("STATUSINFO");
Vector row = new Vector();
Vector tbl = new Vector();
Vector colNames = new Vector();
// Loop over all rows
do {
// Loop over all columns in the current row
for (JCO.FieldIterator e = sales_orders.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
row.add(field.getString());
// System.out.println(field.getName() + ":\t" + field.getString());
} //for
tbl.add(row);
} while (sales_orders.nextRow());
sales_orders = null;
sales_orders =
function.getTableParameterList().getTable("STATUSINFO");
sales_orders.nextRow();
for (JCO.FieldIterator e = sales_orders.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
colNames.add(field.getName().toString());
DefaultTableViewModel dtvModel = new DefaultTableViewModel(tbl, colNames);
JCO.releaseClient(client);
return dtvModel;
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
class4bean myBean = new class4bean();
((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
// fill your bean with data here...
this.setJspName("testJSP_.jsp"); -
(102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
hello everybody,
i have a problem in all my receiver RFC comunication Channel (PI 7.1).
Every night we resart the R3 system where CC need to comunicate.
On the morning all Receiver RFC CC don't work and i have the follow error:
Receiver channel 'CC_SAP_RFC_LOOKUP' for party '', service 'BS_ECD'
Error can not instantiate RfcPool caused by:
com.sap.aii.adapter.rfc.RfcAdapterException: error initializing
RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to
destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect
to SAP gateway failed
Connect_PM TYPE=A ASHOST=192.168.10.38 SYSNR=00 GWHOST=192.168.10.38 GWSERV=sapgw00 PCS=1
I need stop and start the CC.
I cannot propose to customer to stop and start CC every morning.
How can i solve this problem?
thanks
AlexHi,
As a workaround you can plan the availability of your RFC channels according to the downtime of R3 system.
The channels will be stopped and started automatically in this case. take a look here,
http://help.sap.com/saphelp_nwpi71/helpdata/en/46/ad6cfeb5492a86e10000000a1553f6/content.htm
regarding the problem, did you see Q25 of this note
Note 730870 - FAQ XI 3.0/ PI 7.0/ PI 7.1/ PI 7.11/ PI 7.2/ 7.3 RFC Adapter
regards,
francis
Maybe you are looking for
-
font color=red Create/Modify forms and triggers through C++ using OPEN API
<font color=red> Dear brothers/sisters<font color=darkblue> <br><br> Please help us to find the linking problem. <br> We have to add PRE-FORM trigger to many FMBies. We have thousants of FMBies. So opening one by one is difficult. For this we are usi
-
My iphone 5 restarts by its self
I have it updated to ios 7 but now I Am having a problem where sometimes it restarts by it's self. I never had this problem before.
-
I cannot instal canon 5050n. can you help?
I have a new canon 5050n printer and have problems with the instalation. After some time I succeded to download some soft and the printer is working, but does't print any text in ppt!! Only graphics... Can you help? Cheers, bckrebs
-
HT4061 my iPhone 4 just vibrates constantly and doesnt do anything else
can anyone help my iphone started vibrating yesterday and wont do anything else all i get is a constant vibration untill the batteries dead
-
GAAP reporting implications for US-owned Australian company
Hi, I work for an Australian company which has recently been privatised, with 50% now being owned by a US investment company. We suspect now that we may need to provide Financial reporting information which complies with the GAAP requirements on beha