Question

Using Directory Watch in FME Server, not triggering workspace


Badge

I have a workspace that watches a specific folder for files to be added to it.

The workspace then converts the xml file to an ascii file and moves it to a different folder. When I drop the file into the watched folder, it seems like the file isn't getting processed as the file doesn't get moved and the new file doesn't get created.


4 replies

Userlevel 2
Badge +12

Have you monitored the topic of the directory watcher, to see if it is firing? So that will help define in the directory watcher is firing or whether it is the workspace setup.

Badge

Have you monitored the topic of the directory watcher, to see if it is firing? So that will help define in the directory watcher is firing or whether it is the workspace setup.

I have monitored the directory watcher, and it does see the file when it comes in, however, then I get an error on my dir_watch.fmw as well as an error on my other fmw file.

Userlevel 4
Badge +25

I have monitored the directory watcher, and it does see the file when it comes in, however, then I get an error on my dir_watch.fmw as well as an error on my other fmw file.

If the topic fires then it's not the directory watch that's at fault. What error do you get in your workspace (dir_watch.fmw)?

Badge

239 ERROR 0.0 1.8 2016-04-08 07:08:50 BADNEWS: Aborting Translation as directed by mapping file. Message is 'TranslationTerminated'. (cmabort.cpp:131) 240 ERROR 0.0 1.8 2016-04-08 07:08:50 Terminator: Aborting Translation as directed by mapping file. Message is 'TranslationTerminated'. 241 ERROR 0.0 1.8 2016-04-08 07:08:50 (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttest.cpp:477) - (factory.cpp:1117) - (stfspec.cpp:1186) - (stfspec.cpp:1219) - (cmabort.cpp:131) 242 ERROR 0.0 1.8 2016-04-08 07:08:50 Aborting Translation as directed by mapping file. Message is '%0'. 243 ERROR 0.0 1.8 2016-04-08 07:08:50 BADNEWS: A fatal error has occurred. Check the logfile above for details (dynafact.cpp:313) 244 ERROR 0.0 1.8 2016-04-08 07:08:50 A fatal error has occurred. Check the logfile above for details 245 ERROR 0.0 1.8 2016-04-08 07:08:50 (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttest.cpp:471) - (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fctattrset.cpp:490) - (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fctattrset.cpp:490) - (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fctattrset.cpp:490) - (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttest.cpp:471) - (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (dynafact.cpp:313) 246 ERROR 0.0 1.8 2016-04-08 07:08:50 BADNEWS: A fatal error has occurred. Check the logfile above for details (dynafact.cpp:313) 247 INFORM 0.0 1.8 2016-04-08 07:08:50 Text File Reader: Closing the file 'C:\\Program Files\\FMEServer\\RequestData\\1605737389862259_LMSWatchStaging.txt' 248 ERROR 0.0 1.8 2016-04-08 07:08:50 A fatal error has occurred. Check the logfile above for details 249 ERROR 0.0 1.8 2016-04-08 07:08:50 (stftrans.cpp:288) - (simptran.cpp:727) - (stftrans.cpp:318) - (pipeline.cpp:586) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttest.cpp:471) - (factory.cpp:1122) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (fcttee.cpp:283) - (factory.cpp:1033) - (pipeline.cpp:998) - (pipeline.cpp:739) - (factory.cpp:441) - (dynafact.cpp:313)

Reply