I have been thru the other postings on the SAP JCO Connector.
Is it possible to use SAPJCO3 with Talend?
I am using TIS 4.0.2.
I am trying to use the SAPJCO3.JAR (3.0.5). I have the dll in a directory that is in the PATH variable. I placed the sapjco3.jar file in the <Talend Install Directory>/lib/java directory and renamed it to sapjco.jar.
I then imported sapjco.jar from the modules tab.
I run a job with the SAP Connection component and receive errors
com.sap.mw cannot be resolved to a type
com.sap.mw.jco.JCO.Client cannot be resolved to a type
com.sap.mw.jco.JCO cannot be resolved to a type
and these errors repeat many times.
I can get the jco 2.1.9 to work but I assume the version 3 of the jco is improved?
Thanks in advance and regards
Rick
Good morning Shong and thank you for your reply,
Finally everything works, so don't worry. I am using Talend Integration Suite 4.0.3 r47759.
And correct, the trick was to copy the sapjco.jar in the commandline-workspace\.Javalibs directory. Just in case I also added a line in the ".classpath" file.
Yours,
Alex
Hi
It does't support SAPJCO3 at the moment, I have seen that many users mention this issue, can you report a new feature on our bugtracker.?
Thanks for your support!
Best regards
Shong
Hello Shong,
I'm trying SAP connector TOS 4.1/MOSX Snow Leopard with sapjco 2.1.9
I get this error :
Exception in thread "main" java.lang.Error: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc . java.library.path
at testxml.testsap2_0_1.testSAP2.tSAPInput_1Process(testSAP2.java:585)
at testxml.testsap2_0_1.testSAP2.runJobInTOS(testSAP2.java:759)
at testxml.testsap2_0_1.testSAP2.main(testSAP2.java:630)
Caused by: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc . java.library.path
at com.sap.mw.jco.JCO.<clinit>(JCO.java:820)
at testxml.testsap2_0_1.testSAP2.tSAPInput_1Process(testSAP2.java:388)
Can you send me the good version of sapjco for mac os x ?
Thank you.
Hi Shong!
As Stefan pointed out, in another thread your colleague "cantoine" even recommends using JCo 3. So what about it?
I have tried installing version 3 on Windows Server 2003 64 bits and I haven't had any luck. I tried to download the x86-64 bit version of JCo 2.1.8 and it does NOT EXIST anymore on the SAP Marketplace. Which leads to the question if am installing it wrong, if it is not supported and if that is the case, how I can get the 64 bit version of JCo 2.1.8...
Regards,
Alex
Hi Aquagest
It doesn't support sapjco 3.0 so far. You have subscribed enterprise release, you can open a support ticket and ask for SAP JCO 2.1.8 or send me an email.
Best regards
Shong
Dear Shong,
I sent you an email on december 21 and today, I don't know if it got classified as spam... Would you be so kind to send me the SAP JCO 2.1.8 for 64 bit?
Thank you in advance,
Alex