Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Trying to run a talend job on terminal in linux.
I built the job and got .sh file.
Used chmod +x Job.sh and then ./Job.sh
I see the error:
log4j:WARN No appenders could be found for logger (net.sf.json.xml.XMLSerializer).
log4j:WARN Please initialize the log4j system properly
Can someone help what may have gone wrong and how to rectify?
@uganesh no. Where would I find it?
Also, the job works fine when I run it in talend software. I built the job and placed it in a different pc and running it via terminal there. This is when it fails.
Aah ok , Quick Question Did you build your job with Log4j option.
Please follow below link - search "Custom Log4j level"
https://help.talend.com/reader/nXPtKhielAtSqFD6_f7~OQ/V5yP4nItw687WwHLVpxwFQ
https://help.talend.com/reader/nXPtKhielAtSqFD6_f7~OQ/OTiswlhxpERhnYV6Nf6I1g
If this doesnot work , try to add as JVM argument
-Dlog4j.configuration=file:C:\xXpathXxxxx\log4j.xml
Let me know if it works