on 12-12-2011 11:33 AM
Hi everyone,
I'm trying access Idoc for my Java application according with this example:
http://help.sap.com/saphelp_nw73/helpdata/en/48/5a29be412d58d8e10000000a421937/content.htm
I'm setting this configuration and can't get success.
jco.server.gwhost=192.168....... (ip of the sap server)
jco.server.gwserv=sapgw01
jco.server.progid=SAPIDOC
jco.server.unicode=0
jco.server.repository_destination=BCE
so, when i run the program, i recive the msg:
>>> Error occured on SAPIDOC connection nullcom.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Mon Dec 12 08:28:18 BRST 2011.
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 parameters: TPNAME=SAPIDOC GWHOST=192.168.4.44 GWSERV=sapgw01
ERROR service 'sapgw01' unknown
TIME Mon Dec 12 08:28:18 2011
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -3
MODULE niuxi.c
LINE 1825
DETAIL NiPGetServByName: 'sapgw01' not found
SYSTEM CALL getaddrinfo
COUNTER 1
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1221)
at com.sap.conn.jco.rt.DefaultServer.openConnections(DefaultServer.java:1104)
at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:1051)
at com.sap.conn.jco.rt.DefaultServerManager$DispatcherWorker.run(DefaultServerManager.java:300)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed
Connect parameters: TPNAME=SAPIDOC GWHOST=192.168.4.44 GWSERV=sapgw01
ERROR service 'sapgw01' unknown
TIME Mon Dec 12 08:28:18 2011
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -3
MODULE niuxi.c
LINE 1825
DETAIL NiPGetServByName: 'sapgw01' not found
SYSTEM CALL getaddrinfo
COUNTER 1
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:2186)
at com.sap.conn.jco.rt.ServerConnection.accept(ServerConnection.java:390)
at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1196)
... 4 more
Caused by: RfcException: [null]
message: Connect to SAP gateway failed
Connect parameters: TPNAME=SAPIDOC GWHOST=192.168.4.44 GWSERV=sapgw01
ERROR service 'sapgw01' unknown
TIME Mon Dec 12 08:28:18 2011
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -3
MODULE niuxi.c
LINE 1825
DETAIL NiPGetServByName: 'sapgw01' not found
SYSTEM CALL getaddrinfo
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:2172)
... 6 more
I check in sm59 the connections TCP-IP and my service gateway is sapgw01, but the ERROR said: DETAIL NiPGetServByName: 'sapgw01' not found
can someone help me?
Hi...
i found the solution.
I need to set 3300 instead of sapgw00.
It's important, in the property jco.server.gwserv, is necessary convert sapgwXX of 33XX.
thanks a lot.
Emanuel Cordeiro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.