Shared Services Tasks fail with the errorTask failed due to : java.io.FileNotFoundException: File not found

Shared Services Tasks fail with the errorTask failed due to : java.io.FileNotFoundException: File not found

book

Article ID: KB0086075

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
Shared Services Tasks fail with the error "Task failed due to : java.io.FileNotFoundException: File not found"

This can happen when running connections to the same shared Service from multiple Drivers running from the same directory.

When one Service finishes, it will delete the Service data directory (used by all Drivers), deleting the other Drivers' input data. This results in the task failing. You will also see the log message:

Warning: [ThreadedFileServer] Requested file does not exist, will retry:

To avoid this issue:

a) Run Drivers out of different directories. This is always recommended, so that Drivers don't overwrite other Drivers' files, such as log files; or:

b) Use a different driver.properties files for each Driver, specifying a different data and log dir in each properties file.

Issue/Introduction

Shared Services Tasks fail with the errorTask failed due to : java.io.FileNotFoundException: File not found