On 8/13/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:
>
> Hi Luciano, Simon,
>
> I ran it like this:
>
> mvn -U -fn clean install
>
> And it runs fine (Some test errors, but build completes) with maven 2.0.5and 
> java
> 1.5.12.
>
> Thanks for all the feedback,
> - Ole
>
>
>
> Simon Laws wrote:
> > On 8/13/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
> >> Hi Ole
> >>
> >>    Here is what I tried, and all went OK
> >>
> >> 1.Removed .m2\repository\org\apache\tuscany
> >> 2.svn update to revision #565235
> >> 3.cd %tuscany_home%\java
> >> 4.mvn -U -fn clean install
> >>
> >> java version "1.5.0_12"
> >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> >> Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
> >>
> >> Maven version: 2.0.5  --> If you have a higher version, I'd recommend
> >> trying with 2.0.5
> >>
> >>
> >> [INFO]
> >>
> ------------------------------------------------------------------------
> >> [INFO]
> >>
> ------------------------------------------------------------------------
> >> [INFO] BUILD SUCCESSFUL
> >> [INFO]
> >>
> ------------------------------------------------------------------------
> >> [INFO] Total time: 48 minutes 3 seconds
> >> [INFO] Finished at: Sun Aug 12 22:28:52 PDT 2007
> >> [INFO] Final Memory: 61M/63M
> >> [INFO]
> >>
> ------------------------------------------------------------------------
> >>
> >>
> >> On 8/12/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:
> >>> Hi Simon,
> >>>
> >>> Simon Laws wrote:
> >>>
> >>>> I note from your other post that you are having problems with the
> full
> >> build
> >>>> with JDK1.6. Is it possible for you to try with 1.5 as this is known
> >> to
> >>>> work? We can then isolate JDK issues from these more general build
> >> issues.
> >>> Oh Man - It almost made it - I gave 1.5.12 a go for the whole build
> and
> >> it made it this far (I also disabled SELinux to make sure nothing funky
> was
> >> happening):
> >>> -------------------------------------------------------
> >>>  T E S T S
> >>> -------------------------------------------------------
> >>> Running supplychain.SupplyChainClientTestCase
> >>> In SupplyChainClientTestCase.test: Calling customer.purchaseGoods,
> >> customer is [Proxy - f6438d]
> >>> java.lang.ClassNotFoundException: supplychain.retailer.Retailer
> >>>         at org.apache.felix.framework.Felix.loadBundleClass(Felix.java
> >> :1422)
> >>>         at org.apache.felix.framework.BundleImpl.loadClass(
> >> BundleImpl.java:335)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.resolveWireRegisterProxyService
> >> (OSGiImplementationProvider.java:773)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.resolveBundle
> >> (OSGiImplementationProvider.java:873)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.startBundle
> >> (OSGiImplementationProvider.java:326)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiInstanceWrapper.getInstance
> >> (OSGiInstanceWrapper.java:70)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invokeTarget
> >> (OSGiTargetInvoker.java:121)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invoke
> >> (OSGiTargetInvoker.java:172)
> >>>         at
> >> org.apache.tuscany.sca.binding.sca.impl.RuntimeSCABindingInvoker.invoke
> (
> >> RuntimeSCABindingInvoker.java:41)
> >>>         at
> >> org.apache.tuscany.sca.core.invocation.AbstractInvocationHandler.invoke
> (
> >> AbstractInvocationHandler.java:145)
> >>>         at
> >> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
> >> JDKInvocationHandler.java:75)
> >>>         at $Proxy7.purchaseGoods(Unknown Source)
> >>>         at supplychain.SupplyChainClientTestCase.test(
> >> SupplyChainClientTestCase.java:52)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> >> NativeMethodAccessorImpl.java:39)
> >>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >> DelegatingMethodAccessorImpl.java:25)
> >>>         at java.lang.reflect.Method.invoke(Method.java:585)
> >>>         at junit.framework.TestCase.runTest(TestCase.java:168)
> >>>         at junit.framework.TestCase.runBare(TestCase.java:134)
> >>>         at junit.framework.TestResult$1.protect(TestResult.java:110)
> >>>         at junit.framework.TestResult.runProtected(TestResult.java
> :128)
> >>>         at junit.framework.TestResult.run(TestResult.java:113)
> >>>         at junit.framework.TestCase.run(TestCase.java:124)
> >>>         at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >>>         at junit.framework.TestSuite.run(TestSuite.java:227)
> >>>         at org.junit.internal.runners.OldTestClassRunner.run(
> >> OldTestClassRunner.java:35)
> >>>         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(
> >> JUnit4TestSet.java:62)
> >>>         at
> >>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
> >> AbstractDirectoryTestSuite.java:138)
> >>>         at
> >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> >> AbstractDirectoryTestSuite.java:125)
> >>>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> >> NativeMethodAccessorImpl.java:39)
> >>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >> DelegatingMethodAccessorImpl.java:25)
> >>>         at java.lang.reflect.Method.invoke(Method.java:585)
> >>>         at
> >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
> >> SurefireBooter.java:290)
> >>>         at org.apache.maven.surefire.booter.SurefireBooter.main(
> >> SurefireBooter.java:818)
> >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.12sec
> >> <<< FAILURE!
> >>> test(supplychain.SupplyChainClientTestCase)  Time elapsed: 1.995sec  <<<
> ERROR!
> >>> org.apache.tuscany.sca.factory.ObjectCreationException:
> >> org.apache.tuscany.sca.factory.ObjectCreationException:
> >> java.lang.ClassNotFoundException: supplychain.retailer.Retailer
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.startBundle
> >> (OSGiImplementationProvider.java:360)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiInstanceWrapper.getInstance
> >> (OSGiInstanceWrapper.java:70)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invokeTarget
> >> (OSGiTargetInvoker.java:121)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invoke
> >> (OSGiTargetInvoker.java:172)
> >>>         at
> >> org.apache.tuscany.sca.binding.sca.impl.RuntimeSCABindingInvoker.invoke
> (
> >> RuntimeSCABindingInvoker.java:41)
> >>>         at
> >> org.apache.tuscany.sca.core.invocation.AbstractInvocationHandler.invoke
> (
> >> AbstractInvocationHandler.java:145)
> >>>         at
> >> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
> >> JDKInvocationHandler.java:75)
> >>>         at $Proxy7.purchaseGoods(Unknown Source)
> >>>         at supplychain.SupplyChainClientTestCase.test(
> >> SupplyChainClientTestCase.java:52)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> >> NativeMethodAccessorImpl.java:39)
> >>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >> DelegatingMethodAccessorImpl.java:25)
> >>>         at java.lang.reflect.Method.invoke(Method.java:585)
> >>>         at junit.framework.TestCase.runTest(TestCase.java:168)
> >>>         at junit.framework.TestCase.runBare(TestCase.java:134)
> >>>         at junit.framework.TestResult$1.protect(TestResult.java:110)
> >>>         at junit.framework.TestResult.runProtected(TestResult.java
> :128)
> >>>         at junit.framework.TestResult.run(TestResult.java:113)
> >>>         at junit.framework.TestCase.run(TestCase.java:124)
> >>>         at junit.framework.TestSuite.runTest(TestSuite.java:232)
> >>>         at junit.framework.TestSuite.run(TestSuite.java:227)
> >>>         at org.junit.internal.runners.OldTestClassRunner.run(
> >> OldTestClassRunner.java:35)
> >>>         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(
> >> JUnit4TestSet.java:62)
> >>>         at
> >>
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
> >> AbstractDirectoryTestSuite.java:138)
> >>>         at
> >> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
> >> AbstractDirectoryTestSuite.java:125)
> >>>         at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> >> NativeMethodAccessorImpl.java:39)
> >>>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> >> DelegatingMethodAccessorImpl.java:25)
> >>>         at java.lang.reflect.Method.invoke(Method.java:585)
> >>>         at
> >> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(
> >> SurefireBooter.java:290)
> >>>         at org.apache.maven.surefire.booter.SurefireBooter.main(
> >> SurefireBooter.java:818)
> >>> Caused by: org.apache.tuscany.sca.factory.ObjectCreationException:
> >> java.lang.ClassNotFoundException: supplychain.retailer.Retailer
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.resolveBundle
> >> (OSGiImplementationProvider.java:890)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.startBundle
> >> (OSGiImplementationProvider.java:326)
> >>>         ... 31 more
> >>> Caused by: java.lang.ClassNotFoundException:
> >> supplychain.retailer.Retailer
> >>>         at org.apache.felix.framework.Felix.loadBundleClass(Felix.java
> >> :1422)
> >>>         at org.apache.felix.framework.BundleImpl.loadClass(
> >> BundleImpl.java:335)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.resolveWireRegisterProxyService
> >> (OSGiImplementationProvider.java:773)
> >>>         at
> >>
> org.apache.tuscany.sca.implementation.osgi.invocation.OSGiImplementationProvider.resolveBundle
> >> (OSGiImplementationProvider.java:873)
> >>>         ... 32 more
> >>>
> >>>
> >>> Results :
> >>>
> >>> Tests in error:
> >>>   test(supplychain.SupplyChainClientTestCase)
> >>>
> >>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> >>>
> >>> [INFO]
> >>
> ------------------------------------------------------------------------
> >>> [ERROR] BUILD FAILURE
> >>> [INFO]
> >>
> ------------------------------------------------------------------------
> >>> [INFO] There are test failures.
> >>> [INFO]
> >>
> ------------------------------------------------------------------------
> >>> [INFO] For more information, run Maven with the -e switch
> >>> [INFO]
> >>
> ------------------------------------------------------------------------
> >>> [INFO] Total time: 12 minutes 49 seconds
> >>> [INFO] Finished at: Sun Aug 12 16:26:19 CDT 2007
> >>> [INFO] Final Memory: 52M/63M
> >>> [INFO]
> >>
> ------------------------------------------------------------------------
> >>> Figures it would stop on Supply Chain (I'm in the process of of
> >> launching mydemandchain.com).  Maybe someone is trying to tell me
> >> something :-)  I ran the build 3 times to make sure that it was not
> just
> >> maven failing to download something...Although that could still be a
> >> possibility.
> >>> I tried building it with 1.6 after the 1.5 run, and it still fails in
> >> the same place as before.  Strange.
> >>> Please let me know if you want me to try something else.
> >>>
> >>> Cheers,
> >>> - Ole
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>> For additional commands, e-mail: [EMAIL PROTECTED]
> >>>
> >>>
> >>
> >> --
> >> Luciano Resende
> >> Apache Tuscany Committer
> >> http://people.apache.org/~lresende
> >> http://lresende.blogspot.com/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >> Hi Ole
> >
> > It looks like its failing in the osgi supply chain sample. It would be
> > interesting to know it that is the only thing that is failing as this
> sample
> > is a fair way through the build. You can run maven asking it to carry on
> if
> > it finds errors (fail at end) using the following
> >
> > mvn -fae
> >
> > Regards
> >
> > Simon
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> Cool. Out of interest which tests are now failing for you?

Simon

Reply via email to