First of all i have created a flow service to send a ff to IS via file polling
In developer I’ve created a fs with name readFileTest
pub.io:streamToBytes
pub.string:bytesToString
pub.flow:debugLog
i have created this flow service inside “ffmonitorsample” folder, and name of the service is readFileTest
After that i have created a file polling port on IS
for that what i did is
Security>ports>Add Port>webMethods/FilePolling>submit
Package name WmRoot
Run services as user Developer/Administrator
Monitoring Directory as C:\Users\Vimala\Desktop\mon
Working Dir C:\Users\Vimala\Desktop\mon\work
Completion Dir C:\Users\Vimala\Desktop\mon\done
Error Dir C:\Users\Vimala\Desktop\mon\error
Processing service ffmonitorsample:readFileTest
File Polling Interval (seconds) 5
Log only when directory availability changes No
Directories are NFS mounted file system No
Cleanup Service (optional) unspecified
Cleanup At Startup Yes
Cleanup File Age (optional) (days) 7
Cleanup Interval (optional) (hours) 24
Maximum Number of Invocation Threads 5
Content Type (optional) application/x-wmflatfile
Port Service Access Settings
Access Mode Allow by Default
Enabled the package
When I’m polling a file into the monitoring Dir it is moving to error
And I’m seeing a message on the server log as
[341]2012-03-25 14:57:38 IST [FF.0001.0033C] Error processing service: [FPL.0002.0004] Server Error:
Note: The same program is working fine on another system
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB