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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Miguel_Neto
Contributor II
Contributor II

Run JOB error log4j-core

Hello,

I'm trying run a job but always this error appear. The log4j-core-2.13.2.jar file is no permited on my computer anymore by security reasons. How can I solve it?

0695b00000LyllNAAR.png

Labels (2)
3 Replies
Anonymous
Not applicable

If you don't want to use Log4J, open Project settings-->Log4J and uncheck the 'Activate log4j in components' box, run the job again.

0695b00000Lyp7gAAB.png 

If you enable log4j in the job, you have to install this jar, download it from internet and load it using a tLibraryLoad component in the job.

 

Regards

Shong

Miguel_Neto
Contributor II
Contributor II
Author

Dear Shong,

 

Thanks by your anwser. I tried this solutions previously but the problem remains. In fact, I want to use log4j, but while we don't have solution for this issues I want compile the job and run it without log4j. Any recomendations?

 

 

 

Best Regards,

Miguel

Miguel_Neto
Contributor II
Contributor II
Author

Hello,

 

My TOS versions is : 8.0.1.20211109_1610. My steps are simple: During the installation, TOS needs copy log4j-core-2.13.2.jar to plugin folder. However, my Operating System don't let to copy vulnerable jar's. I ignore the error and keep going. After the installation is done, I start TOS and create a simple job without components and try to compile. During compilation process, TOS always ask me to install log4j-core-2.13.2.jar module what I can't do. If I ignore the installation of this module, the compilation process return the following error: Starting job testing_job at 10:19 29/12/2021.

Error: Could not find or load main class testing_project.testing_job_0_1.testing_job

Caused by: java.lang.ClassNotFoundException: testing_project.testing_job_0_1.testing_job

Job testing_job ended at 10:19 29/12/2021. [Exit code = 1]