Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
Here is the case :
I have a route that monitors a database table and when records are inserted, action is being taken by the route. I can deploy a task for this route, with it's onw parameters and settings.
Now, I want to deploy a second task, based for the same route, but with different parameters in order to monitor a different database table.
I'm able to deploy one task and all works fine. But when I deploy the second task, I get :
Duplicate installation of kar ro_vcfe_consumer_AS400DB2dbTable_0.1.8.20250708123915 is not supported. The kar ro_vcfe_consumer_AS400DB2dbTable_0.1.8.20250708123915 is already installed on target Talend Runtime. The kar was instaled by Task ro_vcfe_consumer_AS400DB2dbTable (ID: 6870d4333a530e7f68bd77a5, Version: 7.7, Execution ID: 0f532e3f-b21d-4fc5-b4b8-28b0c507f90e)
Is it possible at all to deploy multiple tasks of one Route with a different configuration (other parameters and settings) ??
@Jacco_De_Zwart foremostpayonline comwrote:
Hi all,
Here is the case :
I have a route that monitors a database table and when records are inserted, action is being taken by the route. I can deploy a task for this route, with it's onw parameters and settings.
Now, I want to deploy a second task, based for the same route, but with different parameters in order to monitor a different database table.
I'm able to deploy one task and all works fine. But when I deploy the second task, I get :
Duplicate installation of kar ro_vcfe_consumer_AS400DB2dbTable_0.1.8.20250708123915 is not supported. The kar ro_vcfe_consumer_AS400DB2dbTable_0.1.8.20250708123915 is already installed on target Talend Runtime. The kar was instaled by Task ro_vcfe_consumer_AS400DB2dbTable (ID: 6870d4333a530e7f68bd77a5, Version: 7.7, Execution ID: 0f532e3f-b21d-4fc5-b4b8-28b0c507f90e)
Is it possible at all to deploy multiple tasks of one Route with a different configuration (other parameters and settings) ??
The "duplicate kar" error you encountered is because Talend Runtime does not allow the same route file to be deployed multiple times. To solve this and achieve your goal, you must modify your route to use **Context Variables** instead of hardcoded values. This allows you to deploy a single route file but create multiple tasks, with each task configured to use different parameters, such as a different database table name, at the time of deployment.
Thanks for your response Bill611d !
Thing is, I use context variable, such as connections and such. See attached file.
But when I configure a new task, with different connection values, I have one route with two task but I cannot deploy both tasks.
So, what do I do wrong then ?
Jacco