You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2008/02/22 01:50:14 UTC
[jira] Commented: (SM-1189) Race condintion in Auto Deployer
[ https://issues.apache.org/activemq/browse/SM-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41361#action_41361 ]
Guillaume Nodet commented on SM-1189:
-------------------------------------
Have you been able to test your patch ?
I'm not sure it will really help.
I would think a better fix would be to wait 100 ms and see if the file size has changed or not.
If not, we can assume that the file has been completely written.
> Race condintion in Auto Deployer
> --------------------------------
>
> Key: SM-1189
> URL: https://issues.apache.org/activemq/browse/SM-1189
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-core
> Affects Versions: 3.2.1
> Environment: Windows Vista x64
> Reporter: Jan Arend Jansen
> Priority: Minor
> Attachments: patch.diff
>
>
> Copying an SA into the hotdeploy folder can lead to a race condition. If the copy takes too long, the deployer will fail with a FileNotFoundException.
> I've attached a possible fix for this (not tested)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.