tsystem component shows error while running job in TAC

Eight Stars
Eight Stars

tsystem component shows error while running job in TAC

Hi All,

 

Am using tsystem component in talend job. its working fine. while scheduling same job in TAC. It's shows error. I have installed TAC in windows environments and using job server from linux environments for TAC.

I have mentioned error details below:

[INFO ]: smartnet.z_tsystem_0_1.z_tsystem - TalendJob: 'z_tsystem' - Start.

[statistics] connecting to socket on port 10466
[statistics] connected
[INFO ]: smartnet.z_tsystem_0_1.z_tsystem - tSystem_1 - Setting the parameters.
[INFO ]: smartnet.z_tsystem_0_1.z_tsystem - tSystem_1 - Root directory: 'C:/Users/RAJ/Desktop/test'.
[FATAL]: smartnet.z_tsystem_0_1.z_tsystem - tSystem_1 Cannot run program "cmd" (in directory "C:\Users\RAJ\Desktop\test"): CreateProcess error=267, The directory name is invalid
java.io.IOException: Cannot run program "cmd" (in directory "C:\Users\RAJ\Desktop\test"): CreateProcess error=267, The directory name is invalid
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at smartnet.z_tsystem_0_1.z_tsystem.tSystem_1Process(z_tsystem.java:379)
at smartnet.z_tsystem_0_1.z_tsystem.runJobInTOS(z_tsystem.java:823)
at smartnet.z_tsystem_0_1.z_tsystem.main(z_tsystem.java:641)
Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 5 more
[statistics] disconnected
Exception in component tSystem_1 (z_tsystem)
java.io.IOException: Cannot run program "cmd" (in directory "C:\Users\RAJ\Desktop\test"): CreateProcess error=267, The directory name is invalid
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at smartnet.z_tsystem_0_1.z_tsystem.tSystem_1Process(z_tsystem.java:379)
at smartnet.z_tsystem_0_1.z_tsystem.runJobInTOS(z_tsystem.java:823)
at smartnet.z_tsystem_0_1.z_tsystem.main(z_tsystem.java:641)
Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 5 more

Thanks
RAJ
Highlighted
Forteen Stars

Re: tsystem component shows error while running job in TAC

[FATAL]: smartnet.z_tsystem_0_1.z_tsystem - tSystem_1 Cannot run program "cmd" (in directory "C:\Users\RAJ\Desktop\test"): CreateProcess error=267, The directory name is invalid

all is in error log:

  • when you run job on TAC it can not find your own folder
  • even if you install TAC on your local machine (or run Studio on same Server) - TAC run it self and run all jobs from different user name and have not access to your folder

change path to available for all users/jobs, for example C:\jobs (just as example)

-----------

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Talend Cloud Developer Series – Defining Metadata

This video focuses on different methods of adding metadata to a job in Talend Cloud

Watch Now

Talend Cloud Developer Series – Updating Context Variables

This video will show you how to add context parameters to a job in Talend Cloud

Watch Now