[
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/[email protected]/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/[email protected]/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.