How to deploy external jars to Talend Runtime

One Star

How to deploy external jars to Talend Runtime

Hello,
I have a route that calls a WebService.
I've generated a client for the WS with SEI, import the jar via a cConfig.
It works perfectly in the studio. But when another team member tries to run the service, it fails, the external .jar is missing.
How to deploy the jar and make it available to other team members, and to talend runtime ?
Thanks in advance,
Christophe

Employee

Re: How to deploy external jars to Talend Runtime

Hi Christophe,
If you right-click on the Route and select 'Edit Route Manifest', you should be able to influence how the route is built for deployment.
There are two things you could try:
1. Look for a check box by your imported Jar under Bundle-ClassPath and check it. Publish and deploy again. (I would try this first if you're looking for the simplest approach)
2. You could also package your required Jar as a Bundle (see Maven Bundle Plugin) and deploy it to the container independently. Then you may have to add the required Java packages to the Import-Packages list in the bundle manifest.
I hope that helps,
Ben
One Star

Re: How to deploy external jars to Talend Runtime

I've look at the first solution, which solve déployment problem, thanks.
But starting the route from another team member studio (dev mode) doesn't work.
Is there a way to share the jar via archiva ?
Christophe

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read