On Mon, May 24, 2010 at 11:43 AM, Simon Laws <[email protected]> wrote: > On Mon, May 24, 2010 at 11:38 AM, kelvin goodson <[email protected]> > wrote: >> I note when I build a binary distro that the whole file system >> hierarchy in 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! >> >> Results : >> >> Tests in error: >> testContributionBindingWSCalculator(launcher.LauncherTestCase) >> testContributionBindingRMICalculator(launcher.LauncherTestCase) >> testContributionImplementationJavaCalculator(launcher.LauncherTestCase) >> >> Tests run: 4, Failures: 0, Errors: 3, Skipped: 0 >> >> ----- >> Any clues/insights how I should resolve this? Would this be true of >> an RC without a fix? >> >> Kelvin. >> > > Hi Kelvin > > How did you create C:\Runtimes\building_m5_2\tuscany-sca-2.0-SNAPSHOT? Simply by running mvn from the top level directory of a tuscany 2.x sca java source extraction. I then looked in
C:\Dev5\sca\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT.dir and copied the tuscany-sca-2.0-SNAPSHOT from there > Simon > -- > Apache Tuscany committer: tuscany.apache.org > Co-author of a book about Tuscany and SCA: tuscanyinaction.com >
