Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Problem with open files

Help
tremi
2005-05-10
2012-12-07
  • tremi
    tremi
    2005-05-10

    Is there an way to say that open files should be ignored? Now an exception appears and it stops. Good way will be to chatch thes exception and go to the next file.  :-(
    ------------------------------------------

    java.io.FileNotFoundException: C:\Dokumente und Einstellungen\.\LocalService\ntuser.dat.LOG (Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at net.sourceforge.fullsync.fs.connection.LocalConnection.readFile(LocalConnection.java:99)
        at net.sourceforge.fullsync.fs.connection.AbstractFile.getInputStream(AbstractFile.java:149)
        at net.sourceforge.fullsync.impl.FileCopyEntryDescriptor.getInputStream(FileCopyEntryDescriptor.java:41)
        at net.sourceforge.fullsync.buffer.BlockBuffer.storeEntry(BlockBuffer.java:207)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.storeFileCopy(FillBufferTaskExecutor.java:80)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.executeTask(FillBufferTaskExecutor.java:112)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:65)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueueTaskChildren(FillBufferTaskExecutor.java:58)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:68)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueueTaskChildren(FillBufferTaskExecutor.java:58)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:68)
        at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:53)
        at net.sourceforge.fullsync.Synchronizer.performActions(Synchronizer.java:109)
        at net.sourceforge.fullsync.ui.TaskDecisionPage$4.run(TaskDecisionPage.java:212)
        at java.lang.Thread.run(Unknown Source)

     
    • chaisikar
      chaisikar
      2005-05-16

      Yes, Me too, I would like to know is that any solution for this problem. I using fullsync to sync a lot of Excel file, but if one of the file had been open on destination, the entired process will stop. Is that any way to "skip" it.

      Please advise.

       
    • chaisikar
      chaisikar
      2005-05-16

      Attached here is my error message:

      java.io.FileNotFoundException: O:\SM_Latest\PROCESS FLOW\.\SM_DAILY\H\4April\LB5MS0HP_01_FSM18JUN03-02_01_17040501.xls (The requested operation cannot be performed on a file with a user-mapped section open)
          at java.io.FileOutputStream.open(Native Method)
          at java.io.FileOutputStream.<init>(Unknown Source)
          at java.io.FileOutputStream.<init>(Unknown Source)
          at net.sourceforge.fullsync.fs.connection.LocalConnection.writeFile(LocalConnection.java:110)
          at net.sourceforge.fullsync.fs.connection.AbstractFile.getOutputStream(AbstractFile.java:157)
          at net.sourceforge.fullsync.impl.FileCopyEntryDescriptor.getOutputStream(FileCopyEntryDescriptor.java:48)
          at net.sourceforge.fullsync.buffer.BlockBuffer.flush(BlockBuffer.java:92)
          at net.sourceforge.fullsync.buffer.BlockBuffer.storeEntry(BlockBuffer.java:187)
          at net.sourceforge.fullsync.buffer.BlockBuffer.storeEntry(BlockBuffer.java:207)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.storeFileCopy(FillBufferTaskExecutor.java:80)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.executeTask(FillBufferTaskExecutor.java:112)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:65)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueueTaskChildren(FillBufferTaskExecutor.java:58)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:68)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueueTaskChildren(FillBufferTaskExecutor.java:58)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:68)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueueTaskChildren(FillBufferTaskExecutor.java:58)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:68)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueueTaskChildren(FillBufferTaskExecutor.java:58)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:68)
          at net.sourceforge.fullsync.impl.FillBufferTaskExecutor.enqueue(FillBufferTaskExecutor.java:53)
          at net.sourceforge.fullsync.Synchronizer.performActions(Synchronizer.java:109)
          at net.sourceforge.fullsync.Synchronizer.performActions(Synchronizer.java:66)
          at net.sourceforge.fullsync.ui.MainWindow.profileExecutionScheduled(MainWindow.java:578)
          at net.sourceforge.fullsync.ProfileManager.fireProfileSchedulerEvent(ProfileManager.java:362)
          at net.sourceforge.fullsync.ProfileManager$1.run(ProfileManager.java:67)
          at java.lang.Thread.run(Unknown Source)