Seventeen Stars

execute Job deployed by Talend with another sheduler

hi all,
not a troll topic Smiley Happy
But I wish to use TAC (entreprise DI 5.4.2 ) to manage& share Talend project, but run them with another scheduler (Control-M).
Deploy is OK, find the last modified .sh (the lastest deployed job) is OK, but when try to run from terminal didn't find the main class.
Normal ... executable jar are not in talend package (anymore), but in a cache repository of the jobServer.(see crcMap file)
the generated java command line is :

#!/bin/sh
cd `dirname $0`
 ROOT_PATH=`pwd`
 java -Xms256M -Xmx1024M -cp $ROOT_PATH/../lib/talend_file_enhanced_20070724.jar:$ROOT_PATH/../lib/dom4j-1.6.1.jar:$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar::$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/test_0_1.jar: test.test_0_1.test --context=Default "$@"

But no lib repository Smiley Happy
But if I run one time from TAC, java commandline is changed to :

#!/bin/sh
cd `dirname $0`
 ROOT_PATH=`pwd`
java -Xms256M -Xmx1024M -cp /opt/TalendTools-5.4.2/jobserver/agent/./TalendJobServersFiles/repository/TEST_test_20140923_142129_KRQS7/test/../../../cache/lib/2808788470/talend_file_enhanced_20070724.jar:/opt/TalendTools-5.4.2/jobserver/agent/./TalendJobServersFiles/repository/TEST_test_20140923_142129_KRQS7/test/../../../cache/lib/2178828168/dom4j-1.6.1.jar:/opt/TalendTools-5.4.2/jobserver/agent/./TalendJobServersFiles/repository/TEST_test_20140923_142129_KRQS7/test:/opt/TalendTools-5.4.2/jobserver/agent/./TalendJobServersFiles/repository/TEST_test_20140923_142129_KRQS7/test/../../../cache/lib/3881837393/systemRoutines.jar::/opt/TalendTools-5.4.2/jobserver/agent/./TalendJobServersFiles/repository/TEST_test_20140923_142129_KRQS7/test/../../../cache/lib/295976892/userRoutines.jar::.:/opt/TalendTools-5.4.2/jobserver/agent/./TalendJobServersFiles/repository/TEST_test_20140923_142129_KRQS7/test/../../../cache/lib/1082169717/test_0_1.jar: test.test_0_1.test --context=Default "$@" --client_host=127.0.0.1 --resuming_logs_dir_path=/opt/TalendTools-5.4.2/jobserver/agent/./TalendJobServersFiles/jobexecutions/logs/20140923142849_f1PhN/resuming_20140923142849_f1PhN.log --pid=20140923142849_f1PhN

all necessary lib paths point to the lib/cache described in crrMap.(a lot of code are deplucated by the other hand)
I don't think it's a bug Smiley Wink , and I cannot use metaServlet.
So how can I (if I can) do that.
if not Why Talend don't let the opportunity to use external scheduler in a easy way , using TAC to manage all other things of a project ?
thanks for attention
regards
laurent 
2 REPLIES
Seventeen Stars

Re: execute Job deployed by Talend with another sheduler

be back Smiley Happy
if I buildJob thanks CommandLine all is OK with .sh.
but my goal is to manage talend Project with TAC until the very last action ... running from Control-M.
It will be great that Talend offer that opportunity Smiley Wink 

EDIT : Can deployJobToServer thanks commandLine and execute it from  any other Scheduler.
So I'm asking if it's not really a Bug about the java command in .sh files !

regards
Seventeen Stars

Re: execute Job deployed by Talend with another sheduler

Is it possible to disable cache on jobServer ?
I wish that lib .jar are in the path as expected from $ROOT_PATH ( = 'pwd') : ../lib