Menu

#45 IOException - part of a file is logged

areca-4.2.3
closed
aventin
5
2012-10-08
2007-03-22
No

WinXP, Java 6.0, NTFS.
This backup was done with the exclusion of locked files.

The Excpetion says: "The process can't access the file, because another process has locked a part of this file."
Anotherthing, the exception doesn't say which file caused this error, that should be added to the logging.

07-03-22 08:54 - 1com.application.areca.ApplicationException: java.io.IOException: Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat
at com.application.areca.impl.IncrementalDirectoryMedium.storeFileInArchive(IncrementalDirectoryMedium.java:75)
at com.application.areca.impl.AbstractIncrementalFileSystemMedium.store(AbstractIncrementalFileSystemMedium.java:296)
at com.application.areca.AbstractRecoveryTarget.processBackup(AbstractRecoveryTarget.java:260)
at com.application.areca.RecoveryProcess.processBackupOnTargetImpl(RecoveryProcess.java:271)
at com.application.areca.RecoveryProcess.processBackupOnTarget(RecoveryProcess.java:263)
at com.application.areca.launcher.gui.ApplicationGUI$9.runCommand(ApplicationGUI.java:668)
at com.application.areca.launcher.gui.ApplicationGUI$ProcessRunner.run(ApplicationGUI.java:1037)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at com.myJava.file.FileTool.copy(FileTool.java:152)
at com.myJava.file.FileTool.copyFile(FileTool.java:139)
at com.myJava.file.FileTool.copyFile(FileTool.java:123)
at com.application.areca.impl.IncrementalDirectoryMedium.storeFileInArchive(IncrementalDirectoryMedium.java:71)
... 7 more

Discussion

  • Jochen Stiepel

    Jochen Stiepel - 2007-07-15

    Logged In: YES
    user_id=793974
    Originator: YES

    I made a test and Lotus Notes is blocking a part of a database file (.nsf) and that gives this IOE.

     
  • aventin

    aventin - 2007-07-15

    Logged In: YES
    user_id=1543595
    Originator: NO

    Hello

    The locked files management has been enhanced in the latest version (5.2)
    Can you try again with a "locked file filter" and tell me if it solves your problem ?

    OP

     
  • Jochen Stiepel

    Jochen Stiepel - 2007-07-15

    Logged In: YES
    user_id=793974
    Originator: YES

    I can confirm with the version 5.2 the exception is gone and a log entry is in the log which states the locked file.
    Thanks !

     

Log in to post a comment.