Return-Path: Delivered-To: apmail-tuscany-dev-archive@www.apache.org Received: (qmail 73719 invoked from network); 3 Jun 2010 10:19:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 10:19:36 -0000 Received: (qmail 43395 invoked by uid 500); 3 Jun 2010 10:19:36 -0000 Delivered-To: apmail-tuscany-dev-archive@tuscany.apache.org Received: (qmail 43295 invoked by uid 500); 3 Jun 2010 10:19:35 -0000 Mailing-List: contact dev-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tuscany.apache.org Delivered-To: mailing list dev@tuscany.apache.org Received: (qmail 43288 invoked by uid 99); 3 Jun 2010 10:19:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 10:19:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 10:19:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o53AJB4C022000 for ; Thu, 3 Jun 2010 10:19:11 GMT Message-ID: <19425450.155431275560351535.JavaMail.jira@thor> Date: Thu, 3 Jun 2010 06:19:11 -0400 (EDT) From: "Kelvin Goodson (JIRA)" To: dev@tuscany.apache.org Subject: [jira] Commented: (TUSCANY-3570) Distribution has read only files In-Reply-To: <10062795.50301274839953969.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TUSCANY-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875034#action_12875034 ] Kelvin Goodson commented on TUSCANY-3570: ----------------------------------------- In http://www.mail-archive.com/dev@tuscany.apache.org/msg12673.html Simon Laws said ... I'm not sure this is all down to permissions. I just saw this when running one of the new launcher samples. It seems that the transaction logs really were locked because a previous run of the sample was holding onto a Java process for some reason. I killed the process manually and didn't get the "unable to obtain lock" error. I don't know yet whether this is something in the sample itself (likely) or in the node code. > Distribution has read only files > -------------------------------- > > Key: TUSCANY-3570 > URL: https://issues.apache.org/jira/browse/TUSCANY-3570 > Project: Tuscany > Issue Type: Bug > Components: Build System > Affects Versions: Java-SCA-2.0-M5 > Reporter: Luciano Resende > Fix For: Java-SCA-2.0-M5 > > > E-mail thread from Kelvin : http://www.mail-archive.com/dev@tuscany.apache.org/msg12626.html > the distribution/target/* is read only. This hasn't been an issue until I just tried running "mvn" in the sample jse launcher directory and got the following failure ... > Caused by: java.lang.IllegalStateException: > org.objectweb.howl.log.LogConfigurationException: LogFileManager.open: > unable to obtain lock on > file C:\Runtimes\building_m5_2\tuscany-sca-2.0-SNAPSHOT\samples\launcher-embedded-jse\target\logs\transaction_1.log > at org.apache.tuscany.sca.policy.transaction.runtime.geronimo.TransactionManagerWrapper.start(TransactionManagerWrapper.java:69) > at org.apache.tuscany.sca.policy.transaction.runtime.geronimo.TransactionModuleActivator.start(TransactionModuleActivator.java:57) > ... 36 more > Caused by: org.objectweb.howl.log.LogConfigurationException: > LogFileManager.open: unable to obtain lock on file > C:\Runtimes\building_m5_2\tu > scany-sca-2.0-SNAPSHOT\samples\launcher-embedded-jse\target\logs\transaction_1.log > at org.objectweb.howl.log.LogFileManager.open(LogFileManager.java:782) > at org.objectweb.howl.log.Logger.open(Logger.java:303) > at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893) > at org.apache.geronimo.transaction.log.HOWLLog.doStart(HOWLLog.java:224) > at org.apache.tuscany.sca.policy.transaction.runtime.geronimo.TransactionManagerWrapper.start(TransactionManagerWrapper.java:66) > ... 37 more > 24-May-2010 11:24:50 org.apache.tuscany.sca.node.impl.NodeFactoryImpl > loadContributions > INFO: Loading contribution: > file:/C:/Runtimes/building_m5_2/tuscany-sca-2.0-SNAPSHOT/samples/launcher-embedded-jse/../contribution-implement > ation-java-calculator/target/classes > Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 24.641 > sec <<< FAILURE! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.