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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
dipanjan93
Contributor
Contributor

Output Log File is not generated while running a JAR file through tSystem

Hello Gurus,

 

I am able to successfully generate Output Log File while running the below command through Windows10 Command prompt but not through Studio using tSystem component.

 

java -jar Test.jar x1 x2 x3 x4 %*> logs.txt

The Job is finished just by printing the logs onto the console but doesn't generate a log file unlike the command prompt using same command.

 

Could you please let me know that I might be missing during the execution of the above code through Studio.

 

Thanks.

Labels (3)
3 Replies
Anonymous
Not applicable

@dipanjan93 

 

Could you please try to give the full path for the log file? It might be writing the file in the current path from which Talend job is running.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved

dipanjan93
Contributor
Contributor
Author

I have already tried giving the entire path. Also, I have tried using the
Home Directory where the Jar file resides. 

The problem here is, the code partially works (till the assignment of parameters but not after that) and doesn't throw any error as such to investigate further.

MCannata
Contributor
Contributor

Some problem here, I'm afraid is a tSystem implementation problem.