cancel
Showing results for 
Search instead for 
Did you mean: 

JCO3 Cannot connect to SAP Server

Former Member
0 Kudos

I'm trying to connect Java on SAP but netbeans send this error message, te user account and password are fine because i was connecting to system via SAPGUI,

Exception in thread "main" com.sap.conn.jco.JCoException: (103) RFC_ERROR_LOGON_FAILURE: Nombre o clave de acceso incorrectos (repetir entrada al sistema) on 159.16.21.148 sysnr 00

at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:637)

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1313)

at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:712)

at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)

at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:189)

at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:45)

at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:178)

at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:760)

at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:598)

at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:28)

at com.cfe.sap.StepByStepClient.main(StepByStepClient.java:365)

Caused by: RfcException: [null]

message: Nombre o clave de acceso incorrectos (repetir entrada al sistema) on 159.16.21.148 sysnr 00

Return code: RFC_SYS_EXCEPTION(3)

error group: 103

key: RFC_ERROR_LOGON_FAILURE

The Question is, I Need to configure somethings o parameters on SAP?, i was reading and the forums speak about of SM59 transaction

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please use the latest patch level of JCo3.

Then check your passed user name and password. Either one or both are wrong.

Please take care that these are case sensitive!

You don't need SM59. This is for configuring outbound destinations (from SAP backend to other SAP or external systems).

Answers (0)