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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Deploy a Job on Tomcat server

Hi Team,

 

I am using TDI 7.1 version and I want to deploy this job on tomcat server and configurable input URL.

for now, my job is simply reading and request API and fetching the data.

Is there any way to make this request API as dynamic whatever the user enters.

I know exporting as a web service is being deprecated in this version but is there any way to run this job on tomcat on this version only.

Do I need to use the ESB version for war extraction and is this free or includes any cost?

 

 

Spoiler

I tried for standalone build type in TDI but I got the below error :

F:\talend setup\job\BasicJob>java -Dtalend.component.manager.m2.repository=F:\talend setup\job\BasicJob/../lib -Xms256M -Xmx1024M -cp .;../lib/routines.jar;../lib/accessors-smart-1.1.jar;../lib/advancedPersistentLookupLib-1.2.jar;../lib/commons-collections-3.2.2.jar;../lib/commons-collections4-4.1.jar;../lib/commons-lang3-3.7.jar;../lib/dom4j-1.6.1.jar;../lib/geronimo-stax-api_1.0_spec-1.0.1.jar;../lib/jboss-serialization.jar;../lib/jersey-client-1.4.jar;../lib/jersey-core-1.4.jar;../lib/json-path-2.1.0.jar;../lib/json-smart-2.2.1.jar;../lib/log4j-1.2.17.jar;../lib/poi-3.16-20170419_modified_talend.jar;../lib/poi-ooxml-3.16-20170419_modified_talend.jar;../lib/poi-ooxml-schemas-3.16-20170419.jar;../lib/poi-scratchpad-3.16-20170419.jar;../lib/slf4j-api-1.7.5.jar;../lib/slf4j-log4j12-1.7.5.jar;../lib/talendExcel-1.3-20180215.jar;../lib/talend_file_enhanced_20070724.jar;../lib/trove.jar;../lib/xmlbeans-2.6.0.jar;basicjob_0_1.jar; local_project.basicjob_0_1.BasicJob --context=Default
Error: Could not find or load main class setup\job\BasicJob....lib

 

can someone please help me how can I make it deployable on TOMCAT.

Thank you in advance.

 

Labels (5)
4 Replies
Anonymous
Not applicable
Author

can someone please explain steps on how to deploy talend job on Apache TOMCAT.

I am using Tomcat version 7and TDI Version 6.2.2.

When I export it as a WAR.

I got the below error.

<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.NoService</faultcode>
<faultstring>
The AXIS engine could not find a target service to invoke! targetService is TestJob
</faultstring>

thank you.

Anonymous
Not applicable
Author

Hi,

 

    The WR method of deployment is deprecated from 6.4 version onwards.

 

https://help.talend.com/reader/uCysbjfyKZbxWfRj_OAB4w/iWkjCqiEcUwyIA9sshQxLg

 

    So could you please try to use the TAC for your use case?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Thank you very much for your response.

 

I understood that this method is being deprecated now.

Still is there any way to make it run on Tomcat by using any version.

 

Thanks In advance.

 

 

 

Anonymous
Not applicable
Author

Hi,

 

     Could you please try the below approach and let us know?

 

https://help.talend.com/reader/_xjxP5Kopg4MCFbPK2UK3g/w~a2mD8D8CKkon5Ut2WC8A

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂