I am using Routines to import required third party libraries into my talend job. I am having issue of not being able to reload a jar. After rebuilding new jar I go to routine -> edit routine libraries ->reload library. Unfortunately this operation does not really promote new code into talend job. I am stuck with old code that was in previous version of this jar. Looks like talend studio cached all jars somewhere and I cannot figure out where. I tried to rename this jar - no luck. workspace > .Java > lib directory is empty.
Please advise how to make Talend studio drop old jar and reload new one.
Thank you djdeejay I tried but it did not work for me
. So far I tried closing and reopening studio, switching projects, creating new jobs inside existing project using same routine, creating new routine, renaming jar and attaching it to a routine as new jar... I did not try restarting computer but this is integration environment that hosts various applications so I am not going to be able to restart it easily.
Hi rhall_2.0,
I am using the following enterprise Talend:
Talend ESB
Version: 6.0.1
Build id: 20150908_1633
My routs work fine in studio (as long as I can load correct jar
). After not being able to reload jar I tried various things (see my post below) including changing workspace.
The workaround that I currently use is to create new project, export job from old project without dependencies, export routine that loads jars and import them into new project. This approach works. I suspect that after computer reboot it will start working in old project as well but I have to wait to confirm that. I am trying to find out how I can force talend studio drop all cached items and reload all jars on demand without having to create new project. Something like "clean build".
I see. This is almost certainly a bug given what you have described. I am aware of a bug related to building jobs/routes in v6. Since you are using the Enterprise Edition I would advise you to contact support. If this is the bug I think it is, there is a patch available.