"Routine" dependency jar file problems/errors

Highlighted
One Star

"Routine" dependency jar file problems/errors

Hi,
We have several routines that require an external library/jar file.

We follow the instructions in the docs and upload these jars via the "Edit Routine Libraries" dialog on the routine. We have also tried the tLibraryLoad component specifying the same jar file.

This is all fine and dandy, but only for the developer who did this in their own studio.

When the changes are committed to SVN, no jar file is checked into the project. "svn status" shows no jars managed within the project that were uploaded by the developer in studio via the "edit routine libraries" dialog.

All other developers seem to have to repeat this manual process of locating the jar and referencing it in their studio

Even better, when we run this job via the Administration Center on a JobServer we get these kinds of errors


"!ENTRY org.talend.platform.logging 1 0 2016-05-04 16:19:42.128
!MESSAGE 2016-05-04 16:19:42,128 INFO  org.talend.commons.exception.CommonExceptionHandler  - missing jar:commons-lang3-3.4.jar"

What are we missing here? There has to be some way to have these jars available within the project or denoted as dependencies in your underlying build routines (i.e. maven artifacts etc). Is there not? How can we simply state the jar dependencies in our project and let every other developer get immediate access to them, same w/ the job servers. 

Highlighted
Moderator

Re: "Routine" dependency jar file problems/errors

Hi,

Could you please indicate the build version you are using?
Where do these external jars reside? Are they in SVN? Are they simply on a developers PC?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: "Routine" dependency jar file problems/errors

Jasper ETL - Version: 6.0.1
a) Create a routine
b) Edit routine libraries
c) click on "new" 
d) browse to custom JAR file on disk (outside of project, downloaded from vendor website) and select it, mark as required
Highlighted
One Star

Re: "Routine" dependency jar file problems/errors

?
Highlighted
Moderator

Re: "Routine" dependency jar file problems/errors

Hi,
Could you please take a look at a related forum:thread to see if it works for your issue?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Employee

Re: "Routine" dependency jar file problems/errors

You should contact Jasper (or Talend) support for this issue.
Thomas Steinborn
VP Product Management
Highlighted
One Star

Re: "Routine" dependency jar file problems/errors

Already have, even putting in lib/java doesn't help. Everyone needs to go and "edit routine libraries" to point their local studios to the jar. Annoying. Also won't run on job server
Highlighted
One Star

Re: "Routine" dependency jar file problems/errors

i resolved the same problem with this topic Error deploying jar
Highlighted
One Star

Re: "Routine" dependency jar file problems/errors

Error deploying third party jar 
Highlighted
One Star

Re: "Routine" dependency jar file problems/errors

You post contained no link to whatever it is you were referring to....
Highlighted
Eight Stars

Re: "Routine" dependency jar file problems/errors

hi all,
i have java code which i want to use in job design.for that 
Am unable to upload external jar files in to edit routine libraries.
And also help me how i can use that routines into job
Thanks in advance,
regards,
bhagyarekha.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog