Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 89888 invoked from network); 27 Jul 2007 18:17:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 18:17:11 -0000 Received: (qmail 2605 invoked by uid 500); 27 Jul 2007 18:17:11 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 2580 invoked by uid 500); 27 Jul 2007 18:17:11 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 2571 invoked by uid 99); 27 Jul 2007 18:17:11 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 11:17:11 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 18:17:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C2CEA714191 for ; Fri, 27 Jul 2007 11:16:49 -0700 (PDT) Message-ID: <22253042.1185560209793.JavaMail.jira@brutus> Date: Fri, 27 Jul 2007 11:16:49 -0700 (PDT) From: "Hiram Chirino (JIRA)" To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-1348) StoreTest.testLock() fails due to java.io.IOException: The process cannot access the file because another process has locked a portion of the file on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org StoreTest.testLock() fails due to java.io.IOException: The process cannot access the file because another process has locked a portion of the file on Windows ------------------------------------------------------------------------------------------------------------------------------------------------------------- Key: AMQ-1348 URL: https://issues.apache.org/activemq/browse/AMQ-1348 Project: ActiveMQ Issue Type: Bug Components: Message Store Affects Versions: 5.0.0 Environment: Windows. Reporter: Hiram Chirino Assignee: Hiram Chirino Fix For: 5.0.0 {code} java.io.IOException: The process cannot access the file because another process has locked a portion of the file at java.io.RandomAccessFile.readBytes(Native Method) at java.io.RandomAccessFile.read(Unknown Source) at java.io.RandomAccessFile.readFully(Unknown Source) at java.io.RandomAccessFile.readFully(Unknown Source) at org.apache.activemq.kaha.impl.index.StoreIndexReader.readItem(StoreIndexReader.java:46) at org.apache.activemq.kaha.impl.index.IndexManager.initialize(IndexManager.java:177) at org.apache.activemq.kaha.impl.index.IndexManager.(IndexManager.java:55) at org.apache.activemq.kaha.impl.KahaStore.getIndexManager(KahaStore.java:358) at org.apache.activemq.kaha.impl.KahaStore.initialize(KahaStore.java:428) at org.apache.activemq.kaha.impl.KahaStore.doesListContainerExist(KahaStore.java:250) at org.apache.activemq.kaha.impl.KahaStore.doesListContainerExist(KahaStore.java:246) at org.apache.activemq.kaha.StoreTest.testLock(StoreTest.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.