[ 
https://issues.apache.org/jira/browse/TUSCANY-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580333#action_12580333
 ] 

Rajini Sivaram commented on TUSCANY-2097:
-----------------------------------------

Simon,

Could you update to the latest version of itest/osgi-tuscany and 
modules/osgi-runtime and retry the test? Before running the test, please run 
mvn clean and also delete the directory itest/osgi-tuscany/.felix.test.

Revision 638794 reuses bundles from .felix.test rather than clean it up 
everytime. That should hopefully avoid the errors you are seeing. The caching 
of bundles in .felix.test also improves the performance of the tests. It does 
mean that a clean build is required to test osgi-tuscany when changes are made 
to the Tuscany runtime. I have moved .felix.test to the target directory so 
that it is deleted by mvn clean.

Thank you

Rajini



> 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]

Reply via email to