You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi
I've been trying to trigger the talend job through shell script , which calls all jar files associated with the project .But i get the following error when i try to execute the shell script :
./script.sh &
[1] 29598
sh-3.2$ Exception in component tJavaRow_3
java.lang.NullPointerException
at dqm.processfeed_26_1.processFeed.tMysqlInput_3Process(processFeed.java:1842)
at dqm.processfeed_26_1.processFeed.tWarn_1Process(processFeed.java:1583)
at dqm.processfeed_26_1.processFeed_26_1.runJobInTOS(processFeed.java:4926)
at dqm.processfeed_26_1.processFeed.main(processFeed.java:4734)
[1]+ Done(1) ./script.sh
The same when i'm trying to run through a scheduled application as a cron job , it is running fine . Are there any permission issues or something else which i need to set for it to run.I've tried running it on multiple servers and i'm getting the same error.I want to run it manually through the script as i need to test it on different servers and cannot install the application on each.
Kindly help.
Thanks
novice
The shell script invokes the .jar files of talendjob.The job has mulitple subjobs, each of which has a .jar file associated with it , and the error mentioned is thrown by the first subjob.
We are trying to invoke the same script generated along with the export, but it has been throwing exceptions (mentioned in the post). The same script when scheduled as a cron job works fine. Have checked for all the permissions and they're fine..Any pointers ?
On the shell, We point to the directory within which the shell script is present and invoke it by ./script.sh
what else do we need to type in other than that? the exact problem here is that our scheduler for other jobs also invokes the same script like we are manually doing, but it does in a scheduled way through the application. the same thing when we are trying to invoke manually from command line has been failing. that is the discrepancy which we are not able to understand exactly. do you have any clue why this could be happening?
Thanks.
Pages: 1