Q
Problem solve Get help with specific problems with your technologies, process and projects.

Connecting to SAP from a Java class

I am having some problems trying to connect SAP from a Java class. I am using JCO 1.1.02 with jRFC12.dll and when I try to connect SAP I get this fail with any SAP error information.

I am having some problems trying to connect SAP from a Java class. I am using JCO 1.1.02 with jRFC12.dll and when...

I try to connect SAP I get this fail with any SAP error information. Version of the JCO-library: --------------------------- 1.1.02 (30-August-2001) ----------------------------- Jayco TestSuite Java Version: 1.4.0-beta3 Sun Microsystems Inc. Operating System: Windows 2000 5.0 for x86 JCo API Version: 1.1.02 (30-August-2001) JCo Middleware Version: 1.1.02 (30-August-2001) com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM GWHOST=80.24.10.17, GWSERV=sapgw00, ASHOST=80.24.10.17, SYSNR=00 no SAP ErrInfo available at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:589) at com.sap.mw.jco.JCO$Client.connect(JCO.java:2235) at TutorialConnect1.(TutorialConnect1.java:37) at TutorialConnect1.main(TutorialConnect1.java:48)


Please use JCo 1.1.03 (that does not fix your problem, but it contains many other improvements).
b) Double-check your logon parameters.
c) If that does not help I need to look at your source code. Please email it to tgs@arasoft.de.


This was last published in February 2002

Dig Deeper on SAP Java and J2EE

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close