I know there are a lot of question like this, but I cannot find a solution. I am executing a shell I have created to run my Talend Job. I got the following error:
I have other shell created in the same way which work with Talend Job, but I never got this error.
After build the job, I tried to run the unix shell auto-generated and it works fine. I also pass three external parameters as --context param ...
This is the .sh I am using in unix:
#parametri che passo a Talend#
echo "Eseguo mainImpA_Prodotto_Fasce"
java -Xms256M -Xmx1024M -cp $ROOT_PATH/lib/*:/mainImpA_Prodotto_Fasce/mainimpa_prodotto_fasce_0_1/acq/mainimpa_prodotto_fasce_0_1/mainImpA_Prodotto_Fasce -context_param fileDirectory=$1 -context_param CODE_TIPO_ELAB=$2 -context_param ATTR_EXT_UID_ELAB=$3
Why I am geting this error?
I already tried this, but it does not works. I got the same error. I noted that in the shell made of my own (calling talend) I have to use single dashes instead of two. Otherwise I got error. I do not know the reason.
In this case, if I use Talend shell auto-generated by building job I am able to pass --context param with no errors.
But, I need my own shell because I have a java process behind Talend. So, I still facing the error.
Introduction to Talend Open Studio for Data Integration.
Practical steps to developing your data integration strategy.
Create systems and workflow to manage clean data ingestion and data transformation.