Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
stecava
Partner - Contributor
Partner - Contributor

SAP JCo error in Talend Route Microservice when deployed to Remote Engine

 

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

Labels (1)
2 Replies
Denis_Segard
Support
Support

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

stecava
Partner - Contributor
Partner - Contributor
Author

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