You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2008/02/06 02:12:37 UTC
[jira] Commented: (SM-607) Files dropped into the install directory
sometimes result in a "file in use by another process" error
[ https://issues.apache.org/activemq/browse/SM-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41233#action_41233 ]
Bruce Snyder commented on SM-607:
---------------------------------
This is an issue is due to the fact that the copy *is not* atomic. To work around this issue temporarily, use the move command instead as it *is* atomic.
> Files dropped into the install directory sometimes result in a "file in use by another process" error
> -----------------------------------------------------------------------------------------------------
>
> Key: SM-607
> URL: https://issues.apache.org/activemq/browse/SM-607
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-core
> Affects Versions: 3.0
> Environment: Windows XP SP2, Java 5
> Reporter: Jamie McCrindle
>
> Files dropped into the install directory sometimes result in a "file in use by another process" error. I assume that this is a race condition where the operating system hasn't completed copying the files when servicemix picks them up and so the exception is thrown. It's intermittent and a workaround is to drop the "monitorInterval" down from 1s to 10s.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.