on 07-24-2015 8:41 AM
Hi experts,
I need to extract data from SAP using java code through IDoc. I have downloaded the IDocServerExample.java and created the client and server
connection files. But i am getting the following error.
com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Fri Jul 24 12:51:20 IST 2015.
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
Connection parameters: PROGID="EAW_01_900" GWHOST=172.168.60.24 GWSERV=sapgw00
ERROR service '?' unknown
TIME Fri Jul 24 12:51:20 2015
RELEASE 721
COMPONENT NI (network interface)
VERSION 40
RC -3
DETAIL NiErrSet
COUNTER 2
For server connection, i have given the following connection parameters.
serverConnectionProperties.setProperty(ServerDataProvider.JCO_GWHOST, "172.168.60.24");
serverConnectionProperties.setProperty(ServerDataProvider.JCO_GWSERV, "sapgw00");
serverConnectionProperties.setProperty(ServerDataProvider.JCO_PROGID, "EAW_01_900");
serverConnectionProperties.setProperty(ServerDataProvider.JCO_REP_DEST, "ABAP_AS_WITH_POOL");
serverConnectionProperties.setProperty(ServerDataProvider.JCO_CONNECTION_COUNT, "2");
createServerDataFile("MYSERVER", serverConnectionProperties);
Please guide me if there is any problem with the server connection parameters.
Thanks in advance.
Hi Rajakumari,
please check /etc/services. When using symbolic port names, it needs to contain an entry like mentioned below:
sapgw00 3300/tcp
Alternatively, you can specify the port directly as value "3300" for ServerDataProvider.JCO_GWSERV.
Best regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. You are correct guys. The new error i am getting is given below.
com.sap.conn.jco.JCoException: (113) JCO_ERROR_REGISTRATION_DENIED: CPIC-CALL: SAP_CMACCPTP3 on convId:
LOCATION SAP-Gateway on host SAPECC / sapgw00
ERROR registration of tp EAW_01_900 from host CSLE30067 not allowed
TIME Tue Jul 28 15:24:54 2015
RELEASE 741
COMPONENT SAP-Gateway
VERSION 2
RC 720
MODULE D:/depot/bas/741_REL/src/krn/si/gw/gwxxrd.c
LINE 3498
COUNTER 10614
at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:686)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2551)
at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:275)
at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:356)
at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:232)
at java.lang.Thread.run(Thread.java:744)
Please help me. Thanks in advance.
Hi Rajakumari,
this is a SAP gateway security related issue.
Please follow the instructions of this KBA for solving it:
https://service.sap.com/sap/support/notes/1850230
Best regards,
Stefan
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.