[ https://issues.apache.org/jira/browse/TUSCANY-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580088#action_12580088 ]
Simon Nash commented on TUSCANY-2097: ------------------------------------- I did this and it improved things but did not completely resolve problems 1 and 3. These problems now occur only when running the test TuscanySampleExtensionsTestCase. All other tests now run cleanly. Here is the output from running the failing test. ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.tuscany.sca.test.osgi.tuscany.TuscanySampleExtensionsTestCase -> Run tests from : ../../../samples/binding-echo-extension Loaded Tuscany, time taken = 38675 ms Running test null(echo.EchoReferenceTestCase) 18-Mar-2008 21:00:20 org.apache.tuscany.sca.contribution.processor.ValidatingXML StreamReader$1 error WARNING: XMLSchema validation problem in: null, line: 22, column: 9 cvc-complex-type.3.2.2: Attribute 'tuscany:applicablePolicySets' is not allowed to appear in element 'e:binding.echo'. 18-Mar-2008 21:00:20 org.apache.tuscany.sca.contribution.processor.ValidatingXML StreamReader$1 error WARNING: XMLSchema validation problem in: null, line: 31, column: 9 cvc-complex-type.3.2.2: Attribute 'tuscany:applicablePolicySets' is not allowed to appear in element 'e:binding.echo'. Returned message: oof Ran: 1, Passed: 1, Failed: 0 Running test null(echo.EchoServiceTestCase) 18-Mar-2008 21:00:22 org.apache.tuscany.sca.contribution.processor.ValidatingXML StreamReader$1 error WARNING: XMLSchema validation problem in: null, line: 22, column: 9 cvc-complex-type.3.2.2: Attribute 'tuscany:applicablePolicySets' is not allowed to appear in element 'e:binding.echo'. 18-Mar-2008 21:00:22 org.apache.tuscany.sca.contribution.processor.ValidatingXML StreamReader$1 error WARNING: XMLSchema validation problem in: null, line: 31, column: 9 cvc-complex-type.3.2.2: Attribute 'tuscany:applicablePolicySets' is not allowed to appear in element 'e:binding.echo'. Returned message: oof Ran: 1, Passed: 1, Failed: 0 -> Run tests from : ../../../samples/binding-echo Loaded Tuscany, time taken = 26791 ms Running test null(echo.EchoBindingTestCase) Passing thro invoker... Returned message: bar Passing thro invoker... Returned message: foo Ran: 2, Passed: 2, Failed: 0 -> Run tests from : ../../../samples/databinding-echo Loaded Tuscany, time taken = 22217 ms Running test null(dbecho.EchoDataBindingTestCase) [Property] prefix: ABC [Property] prefix1: ABC [Property] bar: BAR ComponentA --> Received message: <message><foo>123</foo></message> [java.lang.St ring] ComponentB --> Received message: [#document: null] [org.apache.xerces.dom.Deferr edDocumentImpl] Passing thro invoker... ComponentB --> Returned message: [#document: null] [org.apache.xerces.dom.Docume ntImpl] ComponentA --> Returned message: <?xml version="1.0" encoding="UTF-8"?><message> <foo>123</foo></message> [java.lang.String] [Property] prefix: ABC [Property] prefix1: ABC [Property] bar: BAR ComponentA --> Received message: <message><foo>123</foo></message> [java.lang.St ring] ComponentB --> Received message: [EMAIL PROTECTED] [com.ctc.wstx.sr.ValidatingStreamReader] ComponentB --> Returned message: [EMAIL PROTECTED] [com.ctc.wstx.sr.ValidatingStreamReader] ComponentA --> Returned message: <?xml version='1.0' encoding='UTF-8'?><message> <foo>123</foo></message> [java.lang.String] Ran: 1, Passed: 1, Failed: 0 -> Run tests from : ../../../samples/implementation-crud-extension Loaded Tuscany, time taken = 31082 ms Running test null(crud.CRUDTestCase) Starting CRUDServiceComponent create(ABC) in tmp retrieve(0) update(0) retrieve(0) delete(0) retrieve(0) Stopping CRUDServiceComponent Ran: 1, Passed: 1, Failed: 0 -> Run tests from : ../../../samples/implementation-crud Loaded Tuscany, time taken = 33739 ms Running test null(crud.client.CRUDTestCase) Starting CRUDServiceComponent create(ABC) in tmp retrieve(0) update(0) retrieve(0) delete(0) retrieve(0) Stopping CRUDServiceComponent Ran: 1, Passed: 1, Failed: 0 ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive. (ja va.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany-te st\.felix.test\bundle5\version0.0\revision.location (The system cannot find the file specified)) java.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany- test\.felix.test\bundle5\version0.0\revision.location (The system cannot find th e file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.felix.framework.util.SecureAction.getFileInputStream(Secur eAction.java:338) at org.apache.felix.framework.cache.BundleArchive.getRevisionLocation(Bu ndleArchive.java:775) at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.j ava:201) at org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.j ava:371) at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java: 95) at org.apache.felix.framework.Felix.<init>(Felix.java:247) at org.apache.felix.framework.Felix.<init>(Felix.java:124) at org.apache.tuscany.sca.test.osgi.runtime.impl.FelixTestRuntime.startR untime(FelixTestRuntime.java:130) at org.apache.tuscany.sca.test.osgi.runtime.impl.OSGiTestRuntime.getRunt ime(OSGiTestRuntime.java:78) at org.apache.tuscany.sca.test.util.OSGiRuntimeLoader.startOSGiTestRunti me(OSGiRuntimeLoader.java:38) at org.apache.tuscany.sca.test.osgi.harness.OSGiTuscanyTestHarness.setUp (OSGiTuscanyTestHarness.java:64) at org.apache.tuscany.sca.test.osgi.tuscany.TuscanySampleExtensionsTestC ase.setUp(TuscanySampleExtensionsTestCase.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAn dAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndA fterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn dAfterRunner.java:33) 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:163) ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive. (ja va.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany-te st\.felix.test\bundle6\version0.0\revision.location (The system cannot find the file specified)) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:261) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:875) java.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany- test\.felix.test\bundle6\version0.0\revision.location (The system cannot find th e file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.felix.framework.util.SecureAction.getFileInputStream(Secur eAction.java:338) at org.apache.felix.framework.cache.BundleArchive.getRevisionLocation(Bu ndleArchive.java:775) at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.j ava:201) at org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.j ava:371) at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java: 95) at org.apache.felix.framework.Felix.<init>(Felix.java:247) at org.apache.felix.framework.Felix.<init>(Felix.java:124) at org.apache.tuscany.sca.test.osgi.runtime.impl.FelixTestRuntime.startR untime(FelixTestRuntime.java:130) at org.apache.tuscany.sca.test.osgi.runtime.impl.OSGiTestRuntime.getRunt ime(OSGiTestRuntime.java:78) at org.apache.tuscany.sca.test.util.OSGiRuntimeLoader.startOSGiTestRunti me(OSGiRuntimeLoader.java:38) at org.apache.tuscany.sca.test.osgi.harness.OSGiTuscanyTestHarness.setUp (OSGiTuscanyTestHarness.java:64) at org.apache.tuscany.sca.test.osgi.tuscany.TuscanySampleExtensionsTestC ase.setUp(TuscanySampleExtensionsTestCase.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAn dAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndA fterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn dAfterRunner.java:33) 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) ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive. (ja va.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany-te st\.felix.test\bundle7\version0.0\revision.location (The system cannot find the file specified)) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab stractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:261) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:875) java.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany- test\.felix.test\bundle7\version0.0\revision.location (The system cannot find th e file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.felix.framework.util.SecureAction.getFileInputStream(Secur eAction.java:338) at org.apache.felix.framework.cache.BundleArchive.getRevisionLocation(Bu ndleArchive.java:775) at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.j ava:201) at org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.j ava:371) at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java: 95) at org.apache.felix.framework.Felix.<init>(Felix.java:247) at org.apache.felix.framework.Felix.<init>(Felix.java:124) at org.apache.tuscany.sca.test.osgi.runtime.impl.FelixTestRuntime.startR untime(FelixTestRuntime.java:130) at org.apache.tuscany.sca.test.osgi.runtime.impl.OSGiTestRuntime.getRunt ime(OSGiTestRuntime.java:78) at org.apache.tuscany.sca.test.util.OSGiRuntimeLoader.startOSGiTestRunti me(OSGiRuntimeLoader.java:38) at org.apache.tuscany.sca.test.osgi.harness.OSGiTuscanyTestHarness.setUp (OSGiTuscanyTestHarness.java:64) at org.apache.tuscany.sca.test.osgi.tuscany.TuscanySampleExtensionsTestC ase.setUp(TuscanySampleExtensionsTestCase.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAn dAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndA fterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn dAfterRunner.java:33) 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) ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive. (ja va.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany-te st\.felix.test\bundle9\version0.0\revision.location (The system cannot find the file specified)) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Ab stractDirectoryTestSuite.java:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:261) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:875) java.io.FileNotFoundException: F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany- test\.felix.test\bundle9\version0.0\revision.location (The system cannot find th e file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.apache.felix.framework.util.SecureAction.getFileInputStream(Secur eAction.java:338) at org.apache.felix.framework.cache.BundleArchive.getRevisionLocation(Bu ndleArchive.java:775) at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.j ava:201) at org.apache.felix.framework.cache.BundleCache.initialize(BundleCache.j ava:371) at org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java: 95) at org.apache.felix.framework.Felix.<init>(Felix.java:247) at org.apache.felix.framework.Felix.<init>(Felix.java:124) at org.apache.tuscany.sca.test.osgi.runtime.impl.FelixTestRuntime.startR untime(FelixTestRuntime.java:130) at org.apache.tuscany.sca.test.osgi.runtime.impl.OSGiTestRuntime.getRunt ime(OSGiTestRuntime.java:78) at org.apache.tuscany.sca.test.util.OSGiRuntimeLoader.startOSGiTestRunti me(OSGiRuntimeLoader.java:38) at org.apache.tuscany.sca.test.osgi.harness.OSGiTuscanyTestHarness.setUp (OSGiTuscanyTestHarness.java:64) at org.apache.tuscany.sca.test.osgi.tuscany.TuscanySampleExtensionsTestC ase.setUp(TuscanySampleExtensionsTestCase.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAn dAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndA fterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAn dAfterRunner.java:33) 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:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:261) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:875) -> Run tests from : ../../../samples/implementation-pojo-extension java.util.zip.ZipException: The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.jar.JarFile.<init>(JarFile.java:132) at java.util.jar.JarFile.<init>(JarFile.java:97) at org.apache.felix.moduleloader.JarFileX.<init>(JarFileX.java:36) at org.apache.felix.framework.util.SecureAction.openJAR(SecureAction.jav a:515) at org.apache.felix.framework.cache.JarRevision.getManifestHeader(JarRev ision.java:106) at org.apache.felix.framework.Felix.installBundle(Felix.java:2297) at org.apache.felix.framework.Felix.installBundle(Felix.java:2211) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont extImpl.java:132) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont extImpl.java:110) at org.apache.tuscany.sca.test.util.TuscanyLoader.loadTuscanyIntoOSGi(Tu scanyLoader.java:58) at org.apache.tuscany.sca.test.osgi.harness.OSGiTuscanyTestHarness.runTe st(OSGiTuscanyTestHarness.java:91) at org.apache.tuscany.sca.test.osgi.tuscany.TuscanySampleExtensionsTestC ase.testImplementationPojoExtension(TuscanySampleExtensionsTestCase.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 281.611 sec <<< FAILURE! testImplementationPojoExtension(org.apache.tuscany.sca.test.osgi.tuscany.Tuscany SampleExtensionsTestCase) Time elapsed: 2.598 sec <<< ERROR! at java.lang.reflect.Method.invoke(Method.java:585) org.osgi.framework.BundleException: Could not create bundle object. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:261) at org.apache.felix.framework.Felix.installBundle(Felix.java:2352) at org.apache.felix.framework.Felix.installBundle(Felix.java:2211) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:875) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont extImpl.java:132) at org.apache.felix.framework.BundleContextImpl.installBundle(BundleCont extImpl.java:110) at org.apache.tuscany.sca.test.util.TuscanyLoader.loadTuscanyIntoOSGi(Tu scanyLoader.java:58) at org.apache.tuscany.sca.test.osgi.harness.OSGiTuscanyTestHarness.runTe st(OSGiTuscanyTestHarness.java:91) at org.apache.tuscany.sca.test.osgi.tuscany.TuscanySampleExtensionsTestC ase.testImplementationPojoExtension(TuscanySampleExtensionsTestCase.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) 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:163) at org.apache.maven.surefire.Surefire.run(Surefire.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Su refireBooter.java:261) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.j ava:875) Caused by: java.util.zip.ZipException: The system cannot find the file specified at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:203) at java.util.jar.JarFile.<init>(JarFile.java:132) at java.util.jar.JarFile.<init>(JarFile.java:97) at org.apache.felix.moduleloader.JarFileX.<init>(JarFileX.java:36) at org.apache.felix.framework.util.SecureAction.openJAR(SecureAction.jav a:515) at org.apache.felix.framework.cache.JarRevision.getManifestHeader(JarRev ision.java:106) at org.apache.felix.framework.Felix.installBundle(Felix.java:2297) ... 30 more Results : Tests in error: testImplementationPojoExtension(org.apache.tuscany.sca.test.osgi.tuscany.Tusca nySampleExtensionsTestCase) Tests run: 10, Failures: 0, Errors: 1, Skipped: 0 > Build errors in itest/osgi-tuscany > ---------------------------------- > > Key: TUSCANY-2097 > URL: https://issues.apache.org/jira/browse/TUSCANY-2097 > Project: Tuscany > Issue Type: Bug > Components: Java SCA OSGi Integration > Affects Versions: Java-SCA-Next > Environment: Windows, Sun JDK 1.5.0_14 > Reporter: Simon Nash > Fix For: Java-SCA-Next > > Attachments: jira2097.log > > > Here is a summary of the build errors I am seeing. I will attach my full > build log to this JIRA. > 1. revision.location error creating archive. This seems to show up on > every test, and it does not seem to cause a hard failure in the test. > java.io.FileNotFoundException: > F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany- > test\.felix.test\bundle1\version0.0\revision.location (The system cannot find > th > e file specified) > ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive. > (ja > va.io.FileNotFoundException: > F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany-te > st\.felix.test\bundle1\version0.0\revision.location (The system cannot find > the > file specified)) > 2. InvocationTargetException in CalculatorRMIReferencetestCase. > java.lang.reflect.InvocationTargetException > ..... > Caused by: java.rmi.server.ExportException: Port already in use: 8099; nested > ex > ception is: > java.net.BindException: Address already in use: JVM_Bind > 3. Various errors in testOSGiTuscany_BindingWS > -> ERROR: org.apache.felix.framework.cache.BundleArchive: Unable to delete > archi > ve directory - > F:\tuscany63\sca\itest\osgi-tuscany\osgi-tuscany-test\.felix.test > \bundle5 > java.util.zip.ZipException: The system cannot find the file specified > org.osgi.framework.BundleException: Could not create bundle object. > ..... > Caused by: java.util.zip.ZipException: The system cannot find the file > specified -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]