GenericFileOperationFailedException: Cannot store file
dekk11 Mar 24, 2011 5:59 PMMy application is using camel file route to split & aggregate files. When a file arrives in an incoming endpoint (directory), the file is sent to a file aggregator endpoint. Initially the application was built (and working) on camel 2.4 running in ESB 4.2. I then upgraded the app to camel 2.6 running in ESB 4.3.1, and started experiencing the error below. As a further test, I ran the app with camel 2.4 in ESB 4.3.1 and experienced no problems. I was only able to reproduce this under camel 2.6.
Both routes are file endpoints. Are you aware of any problems such as this in camel 2.6?
(the endpoint definitions are in attached servicemix-receiver-routes.txt)
(the full stack trace is in the attached log file)
-
2011-03-24 | 15:19:20 | ERROR | ///bucket/owtma/ | GenericFileOnCompletion | org.apache.camel.processor.Logger 249 | Caused by:
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot store file: /bucket/owtma/splitter/small/owtadmin/owtma.ping___ID-pitcher-54737-1300817511205-19-2476___67___1___1___111*
....
Caused by: java.io.IOException: Resource temporarily unavailable
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:747)
at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:450)
at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:523)
at org.apache.camel.component.file.FileOperations.writeFileByFile(FileOperations.java:259)
at org.apache.camel.component.file.FileOperations.storeFile(FileOperations.java:199)
... 65 more
Edited by: dekk11 on Mar 24, 2011 9:57 PM
-
servicemix-receiver2.log 33.1 KB
-
camel-context.xml 27.3 KB