Backup plugin Error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Backup plugin Error

Jean-Marc Taillant
[DEBUG] Workspace clean-up.log file

[ERROR] org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

        at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:97)

        at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:63)
Hello,

I get the latest Backup Plugin and when I try to backup my configuration (OS is Windows 2003 Server) I get following:
       
at java.lang.Thread.run(Thread.java:619)

Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

        at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:86)

        at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336)

        at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:95)

        ... 2 more

[ INFO] Cancel hudson shutdown mode

[ INFO] Backup end at [07/01/09 17:14:40]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Backup plugin Error

vincent sellier
hi Jean-Marc,

Are you sure you haven't launched 2 backup in the same time ?
There is no mechanism to avoid this in the plugin and probably windows locks the file instead of overriding it.


Vincent


On Wed, Jul 1, 2009 at 5:23 PM, Jean-Marc Taillant <[hidden email]> wrote:
[DEBUG] Workspace clean-up.log file

[ERROR] org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

org.jvnet.hudson.plugins.backup.BackupException: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

       at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:97)

       at org.jvnet.hudson.plugins.backup.utils.BackupTask.run(BackupTask.java:63)
Hello,

I get the latest Backup Plugin and when I try to backup my configuration (OS is Windows 2003 Server) I get following:
       
at java.lang.Thread.run(Thread.java:619)

Caused by: java.io.IOException: org.codehaus.plexus.archiver.ArchiverException: Problem creating zip: The process cannot access the file because another process has locked a portion of the file

       at org.jvnet.hudson.plugins.backup.utils.BackupEngine.handleEnd(BackupEngine.java:86)

       at org.apache.commons.io.DirectoryWalker.walk(DirectoryWalker.java:336)

       at org.jvnet.hudson.plugins.backup.utils.BackupEngine.doBackup(BackupEngine.java:95)

       ... 2 more

[ INFO] Cancel hudson shutdown mode

[ INFO] Backup end at [07/01/09 17:14:40]      



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]