twaitforFile not work in ESB on linux and mac

Highlighted
Five Stars

twaitforFile not work in ESB on linux and mac

I have a simple FileListener which  wait for new files.

when I develop this and run it in the Studio it works as expected.

The same behavior is it , when build this as standalone job, this works too.

But when build this ass OSGI bundle for esb and deploy this in a runtime,

the service is started and active, but no files are processed although files are there 

I have tried this on Linux ( ubuntu 18.4) and Mac os ( 10.14.6) on both system the same

and on Windows server as well

Studio works,  but not in ESB runtime.

Any Ideas ?

 

 

Tags (4)
Moderator

Re: twaitforFile not work in ESB on linux and mac

Hello,

Is there any message in runtime error log? which is located in <RuntimeInstallationPath>\containber\log\tesb.log.

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

Re: twaitforFile not work in ESB on linux and mac

only that the service is start successfully 

Community Manager

Re: twaitforFile not work in ESB on linux and mac

Hi
The Talend Runtime is based upon Apache Karaf, which is used to run service or Route. You are creating a standard DI job, not a service, you should deploy it to Jobserver if you are using enterprise product or schedule it using other scheduler tools, such as Windows task scheduler or Linux Crontab command.

Regards
Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

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

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