TAC Scheduling for DI Job. Not abe to generate DI Jobs
HI Team,
Trying to schedule a simple DI job in TAC but it is throwing error. (Unexpected Error, contact your administrator)
Job details: Oracle Input==> Oracle Output. (This is a simpe test job to do testing in TAC). This job is running fine in Talend Studio V6.0.1.When we are trying to generate a file TAC it is throwing error as (Unexpected Error, contact your administrator).
Log file shows that Job generator path does not exist. Please find error below but while looking at the server, the path has been already created and it’s same as what we have mentioned command line under the configuration tab. It is not allowing us to generate the file with error msg path does not exist
Error Log:
2015-11-25 10:42:24 ERROR JobGenerator - Source 'H:\Talend\CommandLine\exports\task_36\1448448098798_task_36.zip' does not exist java.io.FileNotFoundException: Source 'H:\Talend\CommandLine\exports\task_36\1448448098798_task_36.zip' does not exist at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:636)
at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:586) at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:557)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:177) at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:417) at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:358) 2015-11-25 10:42:24 ERROR ExecutionTaskHandler - java.io.FileNotFoundException: Source 'H:\Talend\CommandLine\exports\task_36\1448448098798_task_36.zip' does not exist org.talend.administrator.common.exception.ProcessedException: java.io.FileNotFoundException: Source 'H:\Talend\CommandLine\exports\task_36\1448448098798_task_36.zip' does not exist at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:233) at org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:417) at org.talend.administrator.scheduler.business.ExecutionTaskHandler$1.run(ExecutionTaskHandler.java:358) Caused by: java.io.FileNotFoundException: Source 'H:\Talend\CommandLine\exports\task_36\1448448098798_task_36.zip' does not exist at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:636)
at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:586) at org.apache.commons.io.FileUtils.copyFileToDirectory(FileUtils.java:557)
at org.talend.administrator.scheduler.business.job.generate.JobGenerator.generate(JobGenerator.java:177) ... 2 more
Thanks,
avrjraja
This is likely to do with user permissions. The user that is running the Commandline service I am guessing does not have access to write to that location.