You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2009/08/31 09:08:15 UTC
[jira] Resolved: (SMX4-322) Copying zip file to deploy directory on
Windows causes error from java.util.zip.ZipFile file in use by another
process
[ https://issues.apache.org/activemq/browse/SMX4-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Heinemann resolved SMX4-322.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.1.0
The problem has been fixed in the Felix project and will be hopefully part of ServiceMix 4.1.0.
> Copying zip file to deploy directory on Windows causes error from java.util.zip.ZipFile file in use by another process
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: SMX4-322
> URL: https://issues.apache.org/activemq/browse/SMX4-322
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.0.0
> Environment: Windows XP SP2, Sun JVM 1.5.0
> Reporter: Jean Jacobs
> Assignee: Lars Heinemann
> Fix For: 4.1.0
>
> Attachments: FileMonitor.java.patch
>
>
> Created a JBI SA zip file. Copied it to the <install-dir>/deploy directory using Windows Explorer copy/paste. When the SA attempted to be started, the following error was seen in the servicemix.log. I was able to get the zip file deployed by cutting and pasting the file (rather than copy/paste).
> java.io.FileNotFoundException: C:\sandbox_fuse\fuse-esb-4.1.0.1\deploy\transaction-testcase-sa-2.0-SNAPSHOT.zip (The process cannot access the file because it is being used by another process)
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:203)
> at java.util.jar.JarFile.<init>(JarFile.java:132)
> at java.util.jar.JarFile.<init>(JarFile.java:97)
> at org.apache.servicemix.kernel.filemonitor.FileMonitor.transformArtifact(FileMonitor.java:357)
> at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:270)
> at org.apache.servicemix.kernel.filemonitor.FileMonitor$1.filesChanged(FileMonitor.java:151)
> at org.apache.servicemix.kernel.filemonitor.Scanner.reportBulkChanges(Scanner.java:431)
> at org.apache.servicemix.kernel.filemonitor.Scanner.reportDifferences(Scanner.java:327)
> at org.apache.servicemix.kernel.filemonitor.Scanner.scan(Scanner.java:261)
> at org.apache.servicemix.kernel.filemonitor.Scanner$1.run(Scanner.java:221)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.