Sorry about that. I have committed a fix under revision 648396. Due to a difference in classloading between the IBM JDK that I was using for testing and the Sun(?) JDK on Continuum, an additional class was required to be visible from the test bundle, resulting in the NoClassDefFoundError.
I was expecting to see a build failure report if the Continuum build failed after I checked in code. Is that completely turned off now? On 4/15/08, Mark Combellack <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Over the last few days, the continuum build has been failing for the trunk > of Tuscany. The problem is that two tests are failing in > itest/osgi-implementation. The relevant error messages are: > > > > > > testJavaToOSGi(helloworld.sdo.SdoTestCase) Time elapsed: 0.424 sec <<< > ERROR! > > java.lang.NoClassDefFoundError > > at > > helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldClien > tComponent.java:33) > > 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.java.invocation.JavaImplementationInvo > ker.invoke(JavaImplementationInvoker.java:109) > > at > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P > assByValueInterceptor.java:108) > > at > > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingI > nvoker.java:61) > > at > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P > assByValueInterceptor.java:108) > > at > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca > tionHandler.java:286) > > at > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca > tionHandler.java:154) > > at $Proxy141.getGreetings(Unknown Source) > > at helloworld.sdo.SdoTestCase.testJavaToOSGi(SdoTestCase.java:81) > > 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(Ab > stractDirectoryTestSuite.java:138) > > at > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD > irectoryTestSuite.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(SurefireB > ooter.java:308) > > at > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879 > ) > > > > testOSGiToJava(helloworld.sdo.SdoTestCase) Time elapsed: 0.278 sec <<< > ERROR! > > java.lang.NoClassDefFoundError > > at > > helloworld.sdo.client.HelloWorldClientComponent.getGreetings(HelloWorldClien > tComponent.java:33) > > 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.osgi.invocation.OSGiTargetInvoker.invo > keMethod(OSGiTargetInvoker.java:171) > > at > > org.apache.tuscany.sca.implementation.osgi.invocation.OSGiRemotableInvoker.i > nvokeMethod(OSGiRemotableInvoker.java:75) > > at > > org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invo > keTarget(OSGiTargetInvoker.java:143) > > at > > org.apache.tuscany.sca.implementation.osgi.invocation.OSGiTargetInvoker.invo > ke(OSGiTargetInvoker.java:188) > > at > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P > assByValueInterceptor.java:103) > > at > > org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingI > nvoker.java:61) > > at > > org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(P > assByValueInterceptor.java:103) > > at > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca > tionHandler.java:286) > > at > > org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvoca > tionHandler.java:154) > > at $Proxy141.getGreetings(Unknown Source) > > at helloworld.sdo.SdoTestCase.testOSGiToJava(SdoTestCase.java:89) > > 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(Ab > stractDirectoryTestSuite.java:138) > > at > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractD > irectoryTestSuite.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(SurefireB > ooter.java:308) > > at > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:879 > ) > > > > > > > > It looks as though these helloworld.sdo test cases have been recently > added > (see http://svn.apache.org/viewvc?view=rev > <http://svn.apache.org/viewvc?view=rev&sortby=date&revision=647615> > &sortby=date&revision=647615) and they are failing with an OSGI class > loading issue. > > > > I've had a quick look and could not get the tests to pass. Perhaps someone > who knows more about OSGI that I do could have a look at fixing this build > problem. > > > > Thanks, > > > > Mark > > -- Thank you... Regards, Rajini