Getting runtime Log4j error/warning from job

Highlighted
Seven Stars

Getting runtime Log4j error/warning from job

Hi,

 

I am getting below log4j error/warning while running my job, but job is running fine (data is loading).

Please help me to resolve this problem.

Notice: I am not using any XML file/operations in the job.

 

1.JPG

 

Error:

 

log4j:WARN Fatal parsing error 1 and column 1
log4j:WARN Premature end of file.
log4j:ERROR Could not parse url [file:/E:/Talend%20OS/TOS_DI-20161216_1026-V6.3.1/TOS_DI-20161216_1026-V6.3.1/workspace/.Java/target/classes/log4j.xml].
org.xml.sax.SAXParseException; systemId: file:/E:/Talend%20OS/TOS_DI-20161216_1026-V6.3.1/TOS_DI-20161216_1026-V6.3.1/workspace/.Java/target/classes/log4j.xml; lineNumber: 1; columnNumber: 1; Premature end of file.
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:767)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:866)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:773)
    at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
    at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
    at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:284)
    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:304)
    at org.talend.components.salesforce.runtime.SalesforceSourceOrSink.<clinit>(SalesforceSourceOrSink.java:56)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at threeirp_56.copy_of_initial_purge_ctn_0_1.Copy_of_Initial_Purge_CTN.tSalesforceInput_1Process(Copy_of_Initial_Purge_CTN.java:3509)
    at threeirp_56.copy_of_initial_purge_ctn_0_1.Copy_of_Initial_Purge_CTN.tWarn_5Process(Copy_of_Initial_Purge_CTN.java:2717)
    at threeirp_56.copy_of_initial_purge_ctn_0_1.Copy_of_Initial_Purge_CTN.tWarn_1Process(Copy_of_Initial_Purge_CTN.java:2593)
    at threeirp_56.copy_of_initial_purge_ctn_0_1.Copy_of_Initial_Purge_CTN.tSetProxy_1Process(Copy_of_Initial_Purge_CTN.java:2469)
    at threeirp_56.copy_of_initial_purge_ctn_0_1.Copy_of_Initial_Purge_CTN.tWarn_4Process(Copy_of_Initial_Purge_CTN.java:2336)
    at threeirp_56.copy_of_initial_purge_ctn_0_1.Copy_of_Initial_Purge_CTN.runJobInTOS(Copy_of_Initial_Purge_CTN.java:5821)
    at threeirp_56.copy_of_initial_purge_ctn_0_1.Copy_of_Initial_Purge_CTN.main(Copy_of_Initial_Purge_CTN.java:5397)

 

Moderator

Re: Getting runtime Log4j error/warning from job

Hello,

Have you ever changed Log4j.xml in your studio in project setting-->Log4j?

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

How to deploy Talend Jobs as Docker images to Amazon, Azure and Google Cloud reg...

Learn how to deploy Talend Jobs as Docker images to Amazon, Azure and Google Cloud registries

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend API Services Publish to Talend Cloud

Learn how to publish your API Services to Talend Cloud

Watch Now

Cloud Data Warehouse Trends for 2019

Find out aboutCloud Data Warehouse Trends for 2019

Read