Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JCO3 Server mode works on windows but not on unix

Hi,

While trying to run Server program (StepByStepServer.java) with modified configurations from JCO3 distribution on unix platform , it failed with below exception.

The same program runs fine on Windows XP but not on Linux5(32 bit,x86) as well as Solaris10(64bit,sparc) . Am i doing something wrong here? How come it is working on windows but not on unix platform. Please provide suggestion on how to fix this.

Stack trace was same on both Linux and Solaris.

********************************************************Stack Trace*******************************************

Stack trace suggest it as Communication failure but i made sure this is not case with successful ping.

Server state changed from STOPPED to STARTED on server with program id TEST_PROGRAM_ID

>>> Error occured on TEST_PROGRAM_ID connection null

com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Mon Oct 13 17:33:00 IST 2008.

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

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR service '?' unknown

TIME Mon Oct 13 17:33:00 2008

RELEASE 711

COMPONENT NI (network interface)

VERSION 39

RC -3

DETAIL NiErrSet

COUNTER 5

at com.sap.conn.jco.rt.DefaultServer.openConnection(DefaultServer.java:1031)

at com.sap.conn.jco.rt.DefaultServer.adjustConnectionCount(DefaultServer.java:909)

at com.sap.conn.jco.rt.DefaultServer.addListener(DefaultServer.java:255)

at com.sap.conn.jco.rt.DefaultServer.start(DefaultServer.java:610)

at com.sap.conn.jco.rt.DefaultServer.start(DefaultServer.java:597)

at StepByStepServer.step2SimpleServer(StepByStepServer.java:174)

at StepByStepServer.main(StepByStepServer.java:199)

Caused by: com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Could not start server: Connect to SAP gateway failed

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR service '?' unknown

TIME Mon Oct 13 17:33:00 2008

RELEASE 711

COMPONENT NI (network interface)

VERSION 39

RC -3

DETAIL NiErrSet

COUNTER 5

Return code: RFC_FAILURE(1)

error group: 102

key: RFC_ERROR_COMMUNICATION

at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:280)

at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcaccept(RfcIoControl.java:43)

at com.sap.conn.rfc.api.RfcApi.RfcAccept(RfcApi.java:38)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.accept(MiddlewareJavaRfc.java:1778)

... 8 more

Server state changed from STARTED to DEAD on server with program id TEST_PROGRAM_ID

>>> Error occured on TEST_PROGRAM_ID connection null

com.sap.conn.jco.JCoException: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Mon Oct 13 17:33:02 IST 2008.

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

Former Member
Not what you were looking for? View more on this topic or Ask a question