Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I'm integrating SAP data using Talend ESB (Route Designer) and exporting the Route as a Microservice. The Route includes a cTalendJob component, and the Job uses SAP JCo (sapjco3.jar) to connect to SAP.
It runs fine inside Talend Studio, but it fails when I deploy the Route as a microservice to a Talend Remote Engine.
This is the error:
java.lang.ExceptionInInitializerError: Illegal JCo archive "job_1_0.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar".
Any help would be really appreciated.
Thanks
Hello,
Do you know what is the version of the SAP jar file used ?
You can retrieve the version by executing :
java -jar sapjco3.jar -stdout -noManifest
SAP may have changed the controls done in recent versions of jar file (3.1.12 , 3.1.11 , ... )
Kind regards
Denis
Hello Denis,
Thank you for your message.
the version of the SAP JCo JAR file currently in use is an older version: 3.0.19.
When I run the route in the Studio, it works. It depends by the building process?
Best regards,
Stefano