Deploy a job from TOS 7.1.1 on Tomcat 9

Four Stars

Deploy a job from TOS 7.1.1 on Tomcat 9

Hi,

I have exported the project from TOS 7.1.1 through 'Build job' and I have deploy the Talend job on Tomcat 9,
but I get always the following error: 

 

Root Cause</b></p><pre>java.lang.NoClassDefFoundError: routines&#47;system&#47;api&#47;TalendJob
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:763)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
java.net.URLClassLoader.access$100(URLClassLoader.java:73)
java.net.URLClassLoader$1.run(URLClassLoader.java:368)
java.net.URLClassLoader$1.run(URLClassLoader.java:362)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:361)
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
java.lang.ClassLoader.loadClass(ClassLoader.java:357)

 

Questions: How to deploy Talend job into Tomcat.
Help will be highly appreciated.

 

 Regards,

 Aurelio

Moderator

Re: Deploy a job from TOS 7.1.1 on Tomcat 9

Hello,


@adipalo wrote:

Hi,

I have exported the project from TOS 7.1.1 through 'Build job' and I have deploy the Talend job on Tomcat 9,
but I get always the following error: 

 

Root Cause</b></p><pre>java.lang.NoClassDefFoundError: routines&#47;system&#47;api&#47;TalendJob
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:763)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
java.net.URLClassLoader.access$100(URLClassLoader.java:73)
java.net.URLClassLoader$1.run(URLClassLoader.java:368)
java.net.URLClassLoader$1.run(URLClassLoader.java:362)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:361)
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
java.lang.ClassLoader.loadClass(ClassLoader.java:357)

 

Questions: How to deploy Talend job into Tomcat.
Help will be highly appreciated.

 

 Regards,

 Aurelio


We deprecated Axis WebService (WAR) and Axis WebService (ZIP) build job types from 6.4 version onward. Please let us know if this documentation helps.

https://help.talend.com/reader/3JNn80Rarew42ejpCnI7wg/e7wR~7txRrub_jE2LhVQsg

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.
Four Stars

Re: Deploy a job from TOS 7.1.1 on Tomcat 9


Hi,

Thank you for your answer.

Accessing in localhost in the web application, I to be able to run correctly my Job Talend through the invocation of the method "runJob", also with the context parameters.

Instead, when I tried to do the same thing on Tomcat of the web app build version, I got the error that I posted last time.

If I want to use TOS 7.1 and not the version 6.4, I can build job with the type "standalone" or there is another way?

 

Best regards.

Aurelio

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

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