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...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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=184.108.40.206, GWSERV=sapgw00, ASHOST=220.127.116.11, 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 firstname.lastname@example.org.
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.