Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I can upload files to S3 using the S3connection and S3put components, but I also get the warning below.
WARNING: JAXB is unavailable. Will fallback to SDK implementation which may be less performant.If you are using Java 9+, you will need to include javax.xml.bind:jaxb-api as a dependency in Talend
Can anyone help here? Is it necessary to resolve this warning? If yes, please help here to resolve the same.
Thanks,
Hello,
When using tS3Put component along with Openjdk 11, you will always get a warning message like below,
JAXB is unavailable. Will fallback to SDK implementation which may be less performant. If you are using Java 9+, you will need to include javax.xml.bind:jaxb-api as a dependency.
This happens because of the javax.xml.bind package has been removed in Java 11.
Please refer to the related article below.
https://crunchify.com/java-11-and-javax-xml-bind-jaxbcontext/
https://www.dariawan.com/tutorials/java/using-jaxb-java-11/
Workaround:
To remove the warning message, you will need to add the jar file 'jaxb-api-2.3.1.jar' manually by using tLibraryLoad component.
Feel free to let us know if it helps.
Best regards
Sabrina
Hi @Xiaodi Shi
Can you point out from where I should download this jar?
I have downloaded it from Maven, but when I am trying to import it in Studio, I am getting an error as below:
If import settings fail, please check the setting file format.
Maven should be fine. Can you show us where you are getting this error? A screenshot would be good
I wont be able to paste the screenshot here but I am doing via windows--> show view --> module-->import option.
It sounds like you are importing settings and not the Jar. The folders with arrows are for importing/exporting settings. You'll need to us the button that looks like a jar. But to test this solution out, it might be quicker to just use a tLibraryLoad component in your job first.
Thank you @Richard Hall for reply.
Hello,
You are able to download the version of jaxb-api-2.3.1.jar from this page and load it using tLibraryLoad in the job.
Here is online component reference about:
https://help.talend.com/r/en-US/8.0/library-import/tlibraryload
Best regards
Sabrina
Hi,
I appear to be having the exact same problem. Specifically jobs the use tRedshiftOutputBulkExec get this warning (JAXB is unavailable...). Do I have to load the library in every job with a tRedshiftOutputBulkExec component or is there some way to load it to get rid of this issue globally?
Thanks