Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Cannot make Talend studio reload jar

Hello Team,

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,
Svetlana
Labels (4)
9 Replies
Anonymous
Not applicable
Author

do a Switch Project, that works
Anonymous
Not applicable
Author

Thank you djdeejay I tried but it did not work for me 0683p000009MPcz.png. 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.
Anonymous
Not applicable
Author

try this: search all talend related Folders for the jar and place the rightt Version everywhere you found it.
HTH have a nice weekend
Anonymous
Not applicable
Author

Search for it in your "..\workspace\.Java\lib" folder. Just replace it there or delete it from there and remap it from the GUI.
Anonymous
Not applicable
Author

Thank you rhall_2.0 but workspace > .Java > .lib directory is empty in my case
Anonymous
Not applicable
Author

What version of Talend are you using? Have you changed your workspace folder? Have you been able to run your route in the Studio?
Anonymous
Not applicable
Author

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 0683p000009MACn.png). 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".  

Thank you,
Svetlana
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

Thank you 0683p000009MACn.png