servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SM-607) Files dropped into the install directory sometimes result in a "file in use by another process" error
Date Wed, 06 Feb 2008 01:12:37 GMT

    [ 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.


Mime
View raw message