Could not find the context error, while running talend job from linux
Hi, I have created a sample job and exported the zip file and ran on linux box with .sh file , it ran properly without error. As per our project standards we have created separate project structure and separated jars in lib folder and jobname.jars and .sh files in bin folder. and kept all jars in classpath. we are able to run the job but we are facing issue with context. # sh jar_Test_run.sh --context=dev Could not find the context dev
Please look into the screenshots of execution and help me.
Hi, If you have restructured everything as per your standard, then job should run provided respective context group files are available in context folder path. $ ./jar_Test_run.sh --context=/tmp/dev Thanks Vaibhav
hi, with your suggestion i have included the the same, but still getting same error. # sh jar_Test_run.sh --context=/home/rs31903/Sample_Test/ jar_Test/erm/jar_test_0_1/contexts/dev.properties Could not find the context /home/rs31903/Sample_Test/jar_Test/erm/jar_test_0_1/contexts/dev.properties
Hi,
Your job should work if you provide context group Name if you have created in the repository. Respective context group files would be available inside the context folder.
Few more details are also available at
http://www.talendbyexample.com/talend-job-deployment-shell-launchers-reference.html Check the screenshot... It works by just providing the context group name created during job development. We need not give property file name.
Thanks
Vaibhav
hi,
If i include the talend generated zip file in some location and run shell script it is working but if i modify the folder structure then also job is executing but it is not identifying context.
Please see the screenshot to identify my issue.
Have you created context groups in your job and tested? As per your job, context groups are not created... Job execution may or may not be related to context group, it depends upon how your job is implemented. Vaibahv