After MFT Source is Deleted, Files Still Getting Deleted

(Doc ID 2238941.1)

Last updated on APRIL 19, 2017

Applies to:

Oracle Managed File Transfer - Version and later
Information in this document applies to any platform.


Deleted Sources are still pulling files from their directories.

When a Schedule has been attached to a Source, and that Source is subsequently undeployed, files are still pulled from the Source directory.

The diagnostic logs show that ESS is still pulling files from the directory:

[2017-01-30T19:57:37.305+00:00] [mft_server1] [TRACE] [] [oracle.mft.SCHEDULER] [tid: ESS Execute Thread [RequestId:115]] [userId: OracleSystemUser] [ecid: 0000LbkvhfcFw000jzwkno1OZsAP00001x,0:1:100000485:222:1:100000532] [APP: mft-app] [partition-name: DOMAIN] [tenant-name: GLOBAL] [FlowId: 0000LbkvhfcFw000jzwkno1OZsAP00001y] [ESS_JobMetadataID: JobDefinition://oracle/apps/ess/seeded/mft/MFT_OTHER_JOB] [ESS_Module: Processor] [ESS_RequestID: 115] [SRC_CLASS: oracle.tip.mft.common.logging.api.LogService] [SRC_METHOD: __log] oracle.mft.SCHEDULER.: Unable to get the deployed source :so_1cf53234-1097-4f8a-82a6-30ded916a171

[2017-01-30T19:57:37.876+00:00] [mft_server1] [NOTIFICATION] [] [oracle.mft.ENGINE] [tid: JCA-work-instance:File Adapter-191] [userId: ] [ecid: 0e5bb994-2dd9-448e-94a1-9e7653e39a15-0000b1af,0] [APP: mft-app] [partition-name: DOMAIN] [tenant-name: GLOBAL] oracle.mft.ENGINE.: No associated source for the incoming file SourceMessage [sourceName=schedtest_S, messagePropClob={, directory.path=/refresh/home/ftp,}, sourceEndpointRef=file://localhost/refresh/home/ftp, transportHeaderClob=[], transferMethod=ASYNCHRONOUS, priority=null, senderUserName=, dataStorage=DataStorage [referenceType=MFT_STORAGE, payloadReference=234/17/test12.txt, isEncrypted=false, ], calloutInstances=[CalloutInstance [name=delete, type=OPERATION, status=PROCESSED, ]], instances=[], resubmitInfos=[]]

The issue can be reproduced at will with the following steps:
1. Create a new transfer in MFT
2. Create a source with directory /ftpsource/, payload filter of test*.txt, operation 'Delete'.
3. In the Source Schedule drop down, click add schedule and add a schedule for 1 minute.
3. Add a target, set the directory to /ftptarget/
4. Save and Deploy, test to make sure files are tranferring from source to target
5. Next, undeploy the Source, Target, and Transfer from MFT.
6. Add a new test file to /ftpsource/. This file will get deleted, but not moved to /ftptarget/


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms