Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear All,
I am trying to connect SAP/R3 in Talend Open Studio 8.0.1.
When I used tSAPConnection component which was specified SAP JCO version "sap jco 3.*", I met following error:
======
Starting job simple_job_SAP at 12:14 15/10/2022.
[statistics] connecting to socket on port 3527
[statistics] connected
Exception in thread "main" java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.ExceptionInInitializerError: Illegal JCo archive "sapjco3-6.0.0.jar". It is not allowed to rename or repackage the original archive "sapjco3.jar".
at com.sap.conn.jco.rt.MiddlewareJavaRfc.<clinit>(MiddlewareJavaRfc.java:226)
at com.sap.conn.jco.rt.DefaultJCoRuntime.initialize(DefaultJCoRuntime.java:98)
at com.sap.conn.jco.rt.JCoRuntimeFactory.<clinit>(JCoRuntimeFactory.java:23)
at com.sap.conn.jco.rt.RuntimeEnvironment.<init>(RuntimeEnvironment.java:43)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at java.base/java.lang.Class.newInstance(Class.java:584)
at com.sap.conn.jco.ext.Environment.getInstance(Environment.java:155)
at com.sap.conn.jco.ext.Environment.registerDestinationDataProvider(Environment.java:260)
at org.talend.sap.impl.AbstractSAPFactory.<clinit>(AbstractSAPFactory.java:43)
at local_project.simple_job_sap_0_1.simple_job_SAP.tSAPConnection_1Process(simple_job_SAP.java:414)
at local_project.simple_job_sap_0_1.simple_job_SAP.runJobInTOS(simple_job_SAP.java:1621)
at local_project.simple_job_sap_0_1.simple_job_SAP.main(simple_job_SAP.java:1426)
[statistics] disconnected
Job simple_job_SAP ended at 12:14 15/10/2022. [Exit code = 1]
======
This error occurs when running on TOS8.0.1, and does not occur when the built job is executed from the startup batch file.
Please tell me how to prevent Illegal JCo archive "sapjco3-6.0.0.jar" error from occurring.
Hello,
Here exists a jira issue on talend bug tracker about "Use of sapjco3.jar in Talend 8.0.1 causes initialization error".
We will keep you updated to it.
Best regards
Sabrina
Thank you for registering for the issue.
Please let me know when the issue number of the jira is issued.
Best regards, Jas
Hello,
I'm afriad that you are not allowed to check it from talend bug tracker as the security level is Talend internal.
Best regards
Sabrina
Hello,
I understood TDI-48545 is managed by Talend internal issue and I cannot access it.
Please let us know when the status of this issue is updated. Thank you.
Hello,
Very sorry for the inconvenience and we will keep you updated to this issue.
Best regards
Sabrina
Hello,
I would like Talend corp. to raise the priority for resolving this bug.
Is there anything our company can do to raise the prioritiy of this issue?
ex) reqesting resolve using paid support, cooperation in test the resolution way
Best regards, Jas
Hello,
Are you Talend subscription user? You could register for support from the Talend Support team and create a case with priority.
Please have a look at this KB article about: Creating a Support Case in Salesforce
https://community.talend.com/s/article/Creating-a-Support-case-in-Salesforce-sNm7c
Best regards
Sabrina
Hello,
Thanks for the guidance on how to create a support case.
My company is a free Talend user, so I'll propose boss to become a subscription user.
If there are any workarounds that have been effective in the past(TUP-20115,TUP-23506,TUP-23531), please let me know.
If I think I could enable "<stripVersion>true<stripVersion>" in pom .xml of a project, I think this problem could be avoid...
https://community.talend.com/s/question/0D53p00007vCoBSCA0
https://stackoverflow.com/questions/65003590/
Best regards
Hello,
Does Talend corp. have any workarounds or nothing now?
SAP corp. provides the KBA- 2182414 for this error and say the App using Apache Maven use "<stripVersion>true</stripVersion>" in maven-dependency-plugin of "sapjco3.jar" in pom.xml to avoid this error.
If you know how to set up SAP's KBA in TOS8.0.1, please let me know.
Best regards
Hello,
I will report this issue to our R&D team to see if they could give us some detailed steps to set up SAP's KBA in TOS8.0.1 and then come back to you as soon as possible.
Best regards
Sabrina