You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2008/07/20 07:56:05 UTC
Build failure at implementation-node-osgi-runtime ?
Anyone else seeing this (at revision #678249)
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
sec <<< FAILURE!
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
Time elapsed: 1.284 sec <<< ERROR!
java.lang.reflect.InvocationTargetException
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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
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:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
Caused by: org.osoa.sca.ServiceRuntimeException:
java.lang.LinkageError: loader constraints violated when linking
javax/xml/stream/util/XMLEventAllocator class
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
... 29 more
Caused by: java.lang.LinkageError: loader constraints violated when
linking javax/xml/stream/util/XMLEventAllocator class
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
at org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
... 30 more
Results :
Tests in error:
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: Build failure at implementation-node-osgi-runtime ?
Posted by Raymond Feng <en...@gmail.com>.
Hi, Simon.
What you are seeing is different from Luciano's case. Did you build all the other modules such as tuscany-extensibility-osgi?
Thanks,
Raymond
From: Simon Laws
Sent: Monday, July 21, 2008 10:53 AM
To: dev@tuscany.apache.org
Subject: Re: Build failure at implementation-node-osgi-runtime ?
On Sun, Jul 20, 2008 at 8:16 AM, Luciano Resende <lu...@gmail.com> wrote:
Linux RedHat with SUN JDK 1.5.0_14
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)
On Sat, Jul 19, 2008 at 11:57 PM, Raymond Feng <en...@gmail.com> wrote:
> What JDK and what OS do you see this problem? It works for me with Windows
> XP and SUN JDK 1.6.0_07.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Luciano Resende" <lu...@gmail.com>
> Sent: Saturday, July 19, 2008 10:56 PM
> To: <de...@tuscany.apache.org>
> Subject: Build failure at implementation-node-osgi-runtime ?
>
>> Anyone else seeing this (at revision #678249)
>>
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
>> sec <<< FAILURE!
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>> Time elapsed: 1.284 sec <<< ERROR!
>> java.lang.reflect.InvocationTargetException
>> 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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
>> 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>> at
>> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>> at
>> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
>> at
>> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>> 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:308)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
>> Caused by: org.osoa.sca.ServiceRuntimeException:
>> java.lang.LinkageError: loader constraints violated when linking
>> javax/xml/stream/util/XMLEventAllocator class
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
>> ... 29 more
>> Caused by: java.lang.LinkageError: loader constraints violated when
>> linking javax/xml/stream/util/XMLEventAllocator class
>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>> at java.lang.Class.getConstructor0(Class.java:2671)
>> at java.lang.Class.newInstance0(Class.java:321)
>> at java.lang.Class.newInstance(Class.java:303)
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
>> ... 30 more
>>
>>
>> Results :
>>
>> Tests in error:
>>
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>>
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] There are test failures.
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany Committer
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
I'm seeing an error here also (see attached). Haven't looked in detail but seems to be missing the stax implementation? I'm on...
WinXP SP2
IBM JDK
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20070201 (SR4))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-2007020
1 (JIT enabled)
J9VM - 20070131_11312_lHdSMR
JIT - 20070109_1805ifx1_r8
GC - 200701_09)
JCL - 20070131
Regards
Simon
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActiv
atorTestCase) Time elapsed: 2.438 sec <<< ERROR!
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivat
orTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
hodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
Runner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
r.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
sRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
Runner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
2)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: org.osoa.sca.ServiceRuntimeException: javax.xml.stream.FactoryConfigu
rationError: Provider com.bea.xml.stream.MXParserFactory not found
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromCla
ssLoader(NodeFactoryImpl.java:41)
... 29 more
Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stre
am.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:185)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:184)
at java.security.AccessController.doPrivileged(AccessController.java:193
)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.c
reateContributionService(ReallySmallRuntimeBuilder.java:183)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(Re
allySmallRuntime.java:157)
at org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:4
06)
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
... 30 more
Running org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestCa
se
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.266 sec <<< FA
ILURE!
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestC
ase) Time elapsed: 0.016 sec <<< ERROR!
org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException: org.apache.t
uscany.sca.node.impl.NodeFactoryImpl incompatible with org.apache.tuscany.sca.no
de.SCANode2Factory
at org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:64)
at org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase.setUp(NodeImplementationTestCase.java:37)
at junit.framework.TestCase.runBare(TestCase.java:132)
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.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: java.lang.ClassCastException: org.apache.tuscany.sca.node.impl.NodeFa
ctoryImpl incompatible with org.apache.tuscany.sca.node.SCANode2Factory
at org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:58)
... 19 more
Results :
Tests in error:
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleAct
ivatorTestCase)
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
Re: Build failure at implementation-node-osgi-runtime ?
Posted by Luciano Resende <lu...@gmail.com>.
Mutch better now, thanks.
On Mon, Jul 21, 2008 at 3:32 PM, Raymond Feng <en...@gmail.com> wrote:
> Hi,
>
> I have fixed a set of classloading related issue in this test case under
> r678589. Please update and verify.
>
> Thanks,
> Raymond
> From: Simon Laws
> Sent: Monday, July 21, 2008 10:53 AM
> To: dev@tuscany.apache.org
> Subject: Re: Build failure at implementation-node-osgi-runtime ?
>
>
> On Sun, Jul 20, 2008 at 8:16 AM, Luciano Resende <lu...@gmail.com>
> wrote:
>>
>> Linux RedHat with SUN JDK 1.5.0_14
>>
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
>> Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)
>>
>>
>> On Sat, Jul 19, 2008 at 11:57 PM, Raymond Feng <en...@gmail.com>
>> wrote:
>> > What JDK and what OS do you see this problem? It works for me with
>> > Windows
>> > XP and SUN JDK 1.6.0_07.
>> >
>> > Thanks,
>> > Raymond
>> > --------------------------------------------------
>> > From: "Luciano Resende" <lu...@gmail.com>
>> > Sent: Saturday, July 19, 2008 10:56 PM
>> > To: <de...@tuscany.apache.org>
>> > Subject: Build failure at implementation-node-osgi-runtime ?
>> >
>> >> Anyone else seeing this (at revision #678249)
>> >>
>> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
>> >> sec <<< FAILURE!
>> >>
>> >>
>> >> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>> >> Time elapsed: 1.284 sec <<< ERROR!
>> >> java.lang.reflect.InvocationTargetException
>> >> 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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
>> >> 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>> >> at
>> >>
>> >> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>> >> at
>> >>
>> >> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> >> at
>> >>
>> >> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>> >> at
>> >>
>> >> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>> >> at
>> >>
>> >> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
>> >> at
>> >>
>> >> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
>> >> at
>> >>
>> >> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>> >> at
>> >>
>> >> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> >> at
>> >> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>> >> 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:308)
>> >> at
>> >>
>> >> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
>> >> Caused by: org.osoa.sca.ServiceRuntimeException:
>> >> java.lang.LinkageError: loader constraints violated when linking
>> >> javax/xml/stream/util/XMLEventAllocator class
>> >> at
>> >> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
>> >> at
>> >>
>> >> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
>> >> ... 29 more
>> >> Caused by: java.lang.LinkageError: loader constraints violated when
>> >> linking javax/xml/stream/util/XMLEventAllocator class
>> >> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> >> at
>> >> java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>> >> at java.lang.Class.getConstructor0(Class.java:2671)
>> >> at java.lang.Class.newInstance0(Class.java:321)
>> >> at java.lang.Class.newInstance(Class.java:303)
>> >> at
>> >> javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
>> >> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
>> >> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> >> at
>> >> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
>> >> at
>> >>
>> >> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
>> >> at
>> >>
>> >> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
>> >> at java.security.AccessController.doPrivileged(Native Method)
>> >> at
>> >>
>> >> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
>> >> at
>> >>
>> >> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
>> >> at
>> >>
>> >> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
>> >> at
>> >> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
>> >> ... 30 more
>> >>
>> >>
>> >> Results :
>> >>
>> >> Tests in error:
>> >>
>> >>
>> >>
>> >> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>> >>
>> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>> >>
>> >> [INFO]
>> >>
>> >> ------------------------------------------------------------------------
>> >> [ERROR] BUILD FAILURE
>> >> [INFO]
>> >>
>> >> ------------------------------------------------------------------------
>> >> [INFO] There are test failures.
>> >>
>> >>
>> >> --
>> >> Luciano Resende
>> >> Apache Tuscany Committer
>> >> http://people.apache.org/~lresende
>> >> http://lresende.blogspot.com/
>> >
>> >
>>
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany Committer
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>
> I'm seeing an error here also (see attached). Haven't looked in detail but
> seems to be missing the stax implementation? I'm on...
>
> WinXP SP2
> IBM JDK
>
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20070201
> (SR4))
>
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32
> j9vmwi3223-2007020
> 1 (JIT enabled)
> J9VM - 20070131_11312_lHdSMR
> JIT - 20070109_1805ifx1_r8
> GC - 200701_09)
> JCL - 20070131
>
> Regards
>
> Simon
>
>
> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActiv
> atorTestCase) Time elapsed: 2.438 sec <<< ERROR!
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivat
> orTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
> hodRunner.java:99)
> at
> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
> Runner.java:81)
> at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
> dAfterRunner.java:34)
> at
> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
> r.java:75)
> at
> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
> :45)
> at
> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
> stClassMethodsRunner.java:75)
> at
> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
> sRunner.java:36)
> at
> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
> Runner.java:42)
> at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
> dAfterRunner.java:34)
> at
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
> 2)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
> java:62)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.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:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:308)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:879)
> Caused by: org.osoa.sca.ServiceRuntimeException:
> javax.xml.stream.FactoryConfigu
> rationError: Provider com.bea.xml.stream.MXParserFactory not found
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
> at
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromCla
> ssLoader(NodeFactoryImpl.java:41)
> ... 29 more
> Caused by: javax.xml.stream.FactoryConfigurationError: Provider
> com.bea.xml.stre
> am.MXParserFactory not found
> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
> at
> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
> )
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
> .run(ReallySmallRuntimeBuilder.java:185)
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
> .run(ReallySmallRuntimeBuilder.java:184)
> at
> java.security.AccessController.doPrivileged(AccessController.java:193
> )
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.c
> reateContributionService(ReallySmallRuntimeBuilder.java:183)
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(Re
> allySmallRuntime.java:157)
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:4
> 06)
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
> ... 30 more
>
> Running
> org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestCa
> se
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.266 sec
> <<< FA
> ILURE!
> testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestC
> ase) Time elapsed: 0.016 sec <<< ERROR!
> org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException:
> org.apache.t
> uscany.sca.node.impl.NodeFactoryImpl incompatible with
> org.apache.tuscany.sca.no
> de.SCANode2Factory
> at
> org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
> ry.java:64)
> at
> org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
> tCase.setUp(NodeImplementationTestCase.java:37)
> at junit.framework.TestCase.runBare(TestCase.java:132)
> 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.executeTes
> tSet(AbstractDirectoryTestSuite.java:138)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
> stractDirectoryTestSuite.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:64)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:615)
> at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
> refireBooter.java:308)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
> ava:879)
> Caused by: java.lang.ClassCastException:
> org.apache.tuscany.sca.node.impl.NodeFa
> ctoryImpl incompatible with org.apache.tuscany.sca.node.SCANode2Factory
> at
> org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
> ry.java:58)
> ... 19 more
>
>
> Results :
>
> Tests in error:
>
> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleAct
> ivatorTestCase)
>
> testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
> tCase)
>
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
>
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: Build failure at implementation-node-osgi-runtime ?
Posted by Raymond Feng <en...@gmail.com>.
Hi,
I have fixed a set of classloading related issue in this test case under r678589. Please update and verify.
Thanks,
Raymond
From: Simon Laws
Sent: Monday, July 21, 2008 10:53 AM
To: dev@tuscany.apache.org
Subject: Re: Build failure at implementation-node-osgi-runtime ?
On Sun, Jul 20, 2008 at 8:16 AM, Luciano Resende <lu...@gmail.com> wrote:
Linux RedHat with SUN JDK 1.5.0_14
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)
On Sat, Jul 19, 2008 at 11:57 PM, Raymond Feng <en...@gmail.com> wrote:
> What JDK and what OS do you see this problem? It works for me with Windows
> XP and SUN JDK 1.6.0_07.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Luciano Resende" <lu...@gmail.com>
> Sent: Saturday, July 19, 2008 10:56 PM
> To: <de...@tuscany.apache.org>
> Subject: Build failure at implementation-node-osgi-runtime ?
>
>> Anyone else seeing this (at revision #678249)
>>
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
>> sec <<< FAILURE!
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>> Time elapsed: 1.284 sec <<< ERROR!
>> java.lang.reflect.InvocationTargetException
>> 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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
>> 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>> at
>> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>> at
>> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
>> at
>> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>> 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:308)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
>> Caused by: org.osoa.sca.ServiceRuntimeException:
>> java.lang.LinkageError: loader constraints violated when linking
>> javax/xml/stream/util/XMLEventAllocator class
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
>> ... 29 more
>> Caused by: java.lang.LinkageError: loader constraints violated when
>> linking javax/xml/stream/util/XMLEventAllocator class
>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>> at java.lang.Class.getConstructor0(Class.java:2671)
>> at java.lang.Class.newInstance0(Class.java:321)
>> at java.lang.Class.newInstance(Class.java:303)
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
>> ... 30 more
>>
>>
>> Results :
>>
>> Tests in error:
>>
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>>
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] There are test failures.
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany Committer
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
I'm seeing an error here also (see attached). Haven't looked in detail but seems to be missing the stax implementation? I'm on...
WinXP SP2
IBM JDK
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20070201 (SR4))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-2007020
1 (JIT enabled)
J9VM - 20070131_11312_lHdSMR
JIT - 20070109_1805ifx1_r8
GC - 200701_09)
JCL - 20070131
Regards
Simon
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActiv
atorTestCase) Time elapsed: 2.438 sec <<< ERROR!
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivat
orTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
hodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
Runner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
r.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
sRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
Runner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
2)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: org.osoa.sca.ServiceRuntimeException: javax.xml.stream.FactoryConfigu
rationError: Provider com.bea.xml.stream.MXParserFactory not found
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromCla
ssLoader(NodeFactoryImpl.java:41)
... 29 more
Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stre
am.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:185)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:184)
at java.security.AccessController.doPrivileged(AccessController.java:193
)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.c
reateContributionService(ReallySmallRuntimeBuilder.java:183)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(Re
allySmallRuntime.java:157)
at org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:4
06)
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
... 30 more
Running org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestCa
se
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.266 sec <<< FA
ILURE!
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestC
ase) Time elapsed: 0.016 sec <<< ERROR!
org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException: org.apache.t
uscany.sca.node.impl.NodeFactoryImpl incompatible with org.apache.tuscany.sca.no
de.SCANode2Factory
at org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:64)
at org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase.setUp(NodeImplementationTestCase.java:37)
at junit.framework.TestCase.runBare(TestCase.java:132)
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.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: java.lang.ClassCastException: org.apache.tuscany.sca.node.impl.NodeFa
ctoryImpl incompatible with org.apache.tuscany.sca.node.SCANode2Factory
at org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:58)
... 19 more
Results :
Tests in error:
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleAct
ivatorTestCase)
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
Re: Build failure at implementation-node-osgi-runtime ?
Posted by Raymond Feng <en...@gmail.com>.
Hi, Simon.
I can build the module with SUN JDK 1.6 but it fails with IBM JDK 1.5.
Thanks,
Raymond
From: Simon Laws
Sent: Monday, July 21, 2008 10:53 AM
To: dev@tuscany.apache.org
Subject: Re: Build failure at implementation-node-osgi-runtime ?
On Sun, Jul 20, 2008 at 8:16 AM, Luciano Resende <lu...@gmail.com> wrote:
Linux RedHat with SUN JDK 1.5.0_14
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)
On Sat, Jul 19, 2008 at 11:57 PM, Raymond Feng <en...@gmail.com> wrote:
> What JDK and what OS do you see this problem? It works for me with Windows
> XP and SUN JDK 1.6.0_07.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Luciano Resende" <lu...@gmail.com>
> Sent: Saturday, July 19, 2008 10:56 PM
> To: <de...@tuscany.apache.org>
> Subject: Build failure at implementation-node-osgi-runtime ?
>
>> Anyone else seeing this (at revision #678249)
>>
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
>> sec <<< FAILURE!
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>> Time elapsed: 1.284 sec <<< ERROR!
>> java.lang.reflect.InvocationTargetException
>> 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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
>> 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>> at
>> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>> at
>> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
>> at
>> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>> 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:308)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
>> Caused by: org.osoa.sca.ServiceRuntimeException:
>> java.lang.LinkageError: loader constraints violated when linking
>> javax/xml/stream/util/XMLEventAllocator class
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
>> ... 29 more
>> Caused by: java.lang.LinkageError: loader constraints violated when
>> linking javax/xml/stream/util/XMLEventAllocator class
>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>> at java.lang.Class.getConstructor0(Class.java:2671)
>> at java.lang.Class.newInstance0(Class.java:321)
>> at java.lang.Class.newInstance(Class.java:303)
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
>> ... 30 more
>>
>>
>> Results :
>>
>> Tests in error:
>>
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>>
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] There are test failures.
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany Committer
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
I'm seeing an error here also (see attached). Haven't looked in detail but seems to be missing the stax implementation? I'm on...
WinXP SP2
IBM JDK
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20070201 (SR4))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-2007020
1 (JIT enabled)
J9VM - 20070131_11312_lHdSMR
JIT - 20070109_1805ifx1_r8
GC - 200701_09)
JCL - 20070131
Regards
Simon
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActiv
atorTestCase) Time elapsed: 2.438 sec <<< ERROR!
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivat
orTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
hodRunner.java:99)
at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
Runner.java:81)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
r.java:75)
at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
:45)
at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
sRunner.java:36)
at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
Runner.java:42)
at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
2)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: org.osoa.sca.ServiceRuntimeException: javax.xml.stream.FactoryConfigu
rationError: Provider com.bea.xml.stream.MXParserFactory not found
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
at org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromCla
ssLoader(NodeFactoryImpl.java:41)
... 29 more
Caused by: javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stre
am.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:185)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:184)
at java.security.AccessController.doPrivileged(AccessController.java:193
)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.c
reateContributionService(ReallySmallRuntimeBuilder.java:183)
at org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(Re
allySmallRuntime.java:157)
at org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:4
06)
at org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
... 30 more
Running org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestCa
se
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.266 sec <<< FA
ILURE!
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestC
ase) Time elapsed: 0.016 sec <<< ERROR!
org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException: org.apache.t
uscany.sca.node.impl.NodeFactoryImpl incompatible with org.apache.tuscany.sca.no
de.SCANode2Factory
at org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:64)
at org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase.setUp(NodeImplementationTestCase.java:37)
at junit.framework.TestCase.runBare(TestCase.java:132)
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.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: java.lang.ClassCastException: org.apache.tuscany.sca.node.impl.NodeFa
ctoryImpl incompatible with org.apache.tuscany.sca.node.SCANode2Factory
at org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:58)
... 19 more
Results :
Tests in error:
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleAct
ivatorTestCase)
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
Re: Build failure at implementation-node-osgi-runtime ?
Posted by Simon Laws <si...@googlemail.com>.
On Sun, Jul 20, 2008 at 8:16 AM, Luciano Resende <lu...@gmail.com>
wrote:
> Linux RedHat with SUN JDK 1.5.0_14
>
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)
>
>
> On Sat, Jul 19, 2008 at 11:57 PM, Raymond Feng <en...@gmail.com>
> wrote:
> > What JDK and what OS do you see this problem? It works for me with
> Windows
> > XP and SUN JDK 1.6.0_07.
> >
> > Thanks,
> > Raymond
> > --------------------------------------------------
> > From: "Luciano Resende" <lu...@gmail.com>
> > Sent: Saturday, July 19, 2008 10:56 PM
> > To: <de...@tuscany.apache.org>
> > Subject: Build failure at implementation-node-osgi-runtime ?
> >
> >> Anyone else seeing this (at revision #678249)
> >>
> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
> >> sec <<< FAILURE!
> >>
> >>
> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
> >> Time elapsed: 1.284 sec <<< ERROR!
> >> java.lang.reflect.InvocationTargetException
> >> 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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
> >> 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
> >> at
> >>
> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
> >> at
> >>
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> >> at
> >>
> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
> >> at
> >>
> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> >> at
> >>
> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
> >> at
> >>
> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
> >> at
> >>
> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
> >> at
> >>
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> >> at
> >> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
> >> 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:308)
> >> at
> >>
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> >> Caused by: org.osoa.sca.ServiceRuntimeException:
> >> java.lang.LinkageError: loader constraints violated when linking
> >> javax/xml/stream/util/XMLEventAllocator class
> >> at
> >> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
> >> at
> >>
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
> >> ... 29 more
> >> Caused by: java.lang.LinkageError: loader constraints violated when
> >> linking javax/xml/stream/util/XMLEventAllocator class
> >> at java.lang.Class.getDeclaredConstructors0(Native Method)
> >> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> >> at java.lang.Class.getConstructor0(Class.java:2671)
> >> at java.lang.Class.newInstance0(Class.java:321)
> >> at java.lang.Class.newInstance(Class.java:303)
> >> at
> javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
> >> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
> >> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
> >> at
> >> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
> >> at
> >>
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
> >> at
> >>
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
> >> at java.security.AccessController.doPrivileged(Native Method)
> >> at
> >>
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
> >> at
> >>
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
> >> at
> >> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
> >> at
> >> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
> >> ... 30 more
> >>
> >>
> >> Results :
> >>
> >> Tests in error:
> >>
> >>
> >>
> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
> >>
> >> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
> >>
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [ERROR] BUILD FAILURE
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] There are test failures.
> >>
> >>
> >> --
> >> Luciano Resende
> >> Apache Tuscany Committer
> >> http://people.apache.org/~lresende<http://people.apache.org/%7Elresende>
> >> http://lresende.blogspot.com/
> >
> >
>
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende <http://people.apache.org/%7Elresende>
> http://lresende.blogspot.com/
>
I'm seeing an error here also (see attached). Haven't looked in detail but
seems to be missing the stax implementation? I'm on...
WinXP SP2
IBM JDK
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20070201
(SR4))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32
j9vmwi3223-2007020
1 (JIT enabled)
J9VM - 20070131_11312_lHdSMR
JIT - 20070109_1805ifx1_r8
GC - 200701_09)
JCL - 20070131
Regards
Simon
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActiv
atorTestCase) Time elapsed: 2.438 sec <<< ERROR!
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivat
orTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMet
hodRunner.java:99)
at
org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethod
Runner.java:81)
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunne
r.java:75)
at
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java
:45)
at
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(Te
stClassMethodsRunner.java:75)
at
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethod
sRunner.java:36)
at
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClass
Runner.java:42)
at
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn
dAfterRunner.java:34)
at
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:5
2)
at
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.
java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: org.osoa.sca.ServiceRuntimeException:
javax.xml.stream.FactoryConfigu
rationError: Provider com.bea.xml.stream.MXParserFactory not found
at
org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
at
org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromCla
ssLoader(NodeFactoryImpl.java:41)
... 29 more
Caused by: javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stre
am.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at
javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
)
at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:185)
at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1
.run(ReallySmallRuntimeBuilder.java:184)
at
java.security.AccessController.doPrivileged(AccessController.java:193
)
at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.c
reateContributionService(ReallySmallRuntimeBuilder.java:183)
at
org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(Re
allySmallRuntime.java:157)
at
org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:4
06)
at
org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
... 30 more
Running
org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestCa
se
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.266 sec
<<< FA
ILURE!
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTestC
ase) Time elapsed: 0.016 sec <<< ERROR!
org.osoa.sca.ServiceRuntimeException: java.lang.ClassCastException:
org.apache.t
uscany.sca.node.impl.NodeFactoryImpl incompatible with
org.apache.tuscany.sca.no
de.SCANode2Factory
at
org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:64)
at
org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase.setUp(NodeImplementationTestCase.java:37)
at junit.framework.TestCase.runBare(TestCase.java:132)
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.executeTes
tSet(AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab
stractDirectoryTestSuite.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:64)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su
refireBooter.java:308)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j
ava:879)
Caused by: java.lang.ClassCastException:
org.apache.tuscany.sca.node.impl.NodeFa
ctoryImpl incompatible with org.apache.tuscany.sca.node.SCANode2Factory
at
org.apache.tuscany.sca.node.SCANode2Factory.newInstance(SCANode2Facto
ry.java:58)
... 19 more
Results :
Tests in error:
testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleAct
ivatorTestCase)
testNode(org.apache.tuscany.sca.implementation.node.osgi.NodeImplementationTes
tCase)
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
Re: Build failure at implementation-node-osgi-runtime ?
Posted by Luciano Resende <lu...@gmail.com>.
Linux RedHat with SUN JDK 1.5.0_14
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)
On Sat, Jul 19, 2008 at 11:57 PM, Raymond Feng <en...@gmail.com> wrote:
> What JDK and what OS do you see this problem? It works for me with Windows
> XP and SUN JDK 1.6.0_07.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Luciano Resende" <lu...@gmail.com>
> Sent: Saturday, July 19, 2008 10:56 PM
> To: <de...@tuscany.apache.org>
> Subject: Build failure at implementation-node-osgi-runtime ?
>
>> Anyone else seeing this (at revision #678249)
>>
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
>> sec <<< FAILURE!
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>> Time elapsed: 1.284 sec <<< ERROR!
>> java.lang.reflect.InvocationTargetException
>> 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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
>> 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>> at
>> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>> at
>> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
>> at
>> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
>> at
>> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>> at
>> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>> at
>> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>> 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:308)
>> at
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
>> Caused by: org.osoa.sca.ServiceRuntimeException:
>> java.lang.LinkageError: loader constraints violated when linking
>> javax/xml/stream/util/XMLEventAllocator class
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
>> ... 29 more
>> Caused by: java.lang.LinkageError: loader constraints violated when
>> linking javax/xml/stream/util/XMLEventAllocator class
>> at java.lang.Class.getDeclaredConstructors0(Native Method)
>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
>> at java.lang.Class.getConstructor0(Class.java:2671)
>> at java.lang.Class.newInstance0(Class.java:321)
>> at java.lang.Class.newInstance(Class.java:303)
>> at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
>> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
>> at
>> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
>> at
>> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
>> at
>> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
>> ... 30 more
>>
>>
>> Results :
>>
>> Tests in error:
>>
>>
>> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>>
>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] There are test failures.
>>
>>
>> --
>> Luciano Resende
>> Apache Tuscany Committer
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>
>
--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: Build failure at implementation-node-osgi-runtime ?
Posted by Raymond Feng <en...@gmail.com>.
What JDK and what OS do you see this problem? It works for me with Windows
XP and SUN JDK 1.6.0_07.
Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <lu...@gmail.com>
Sent: Saturday, July 19, 2008 10:56 PM
To: <de...@tuscany.apache.org>
Subject: Build failure at implementation-node-osgi-runtime ?
> Anyone else seeing this (at revision #678249)
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 5.288
> sec <<< FAILURE!
> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
> Time elapsed: 1.284 sec <<< ERROR!
> java.lang.reflect.InvocationTargetException
> 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.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase.testLauncher(LauncherBundleActivatorTestCase.java:158)
> 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
> at
> org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
> at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> at
> org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
> at
> org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> at
> org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:75)
> at
> org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:36)
> at
> org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
> at
> org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
> at
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
> 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:308)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879)
> Caused by: org.osoa.sca.ServiceRuntimeException:
> java.lang.LinkageError: loader constraints violated when linking
> javax/xml/stream/util/XMLEventAllocator class
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:157)
> at
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl.createSCANodeFromClassLoader(NodeFactoryImpl.java:41)
> ... 29 more
> Caused by: java.lang.LinkageError: loader constraints violated when
> linking javax/xml/stream/util/XMLEventAllocator class
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
> at java.lang.Class.getConstructor0(Class.java:2671)
> at java.lang.Class.newInstance0(Class.java:321)
> at java.lang.Class.newInstance(Class.java:303)
> at
> javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:70)
> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:163)
> at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
> at
> javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:185)
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder$1.run(ReallySmallRuntimeBuilder.java:184)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(ReallySmallRuntimeBuilder.java:183)
> at
> org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(ReallySmallRuntime.java:157)
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.initRuntime(NodeImpl.java:406)
> at
> org.apache.tuscany.sca.node.impl.NodeImpl.<init>(NodeImpl.java:152)
> ... 30 more
>
>
> Results :
>
> Tests in error:
>
> testLauncher(org.apache.tuscany.sca.implementation.node.osgi.LauncherBundleActivatorTestCase)
>
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
>
>
> --
> Luciano Resende
> Apache Tuscany Committer
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/