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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
BA621858188
Creator
Creator

Warning while uploading file on S3

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,

Labels (2)
8 Replies
Anonymous
Not applicable

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

BA621858188
Creator
Creator
Author

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.

Anonymous
Not applicable

Maven should be fine. Can you show us where you are getting this error? A screenshot would be good

BA621858188
Creator
Creator
Author

I wont be able to paste the screenshot here but I am doing via windows--> show view --> module-->import option.

Anonymous
Not applicable

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.

BA621858188
Creator
Creator
Author

Thank you @Richard Hall​  for reply.

Anonymous
Not applicable

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

IMM-DADS
Contributor
Contributor

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