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 (JIRA)" <de...@tuscany.apache.org> on 2009/10/02 00:04:23 UTC

[jira] Resolved: (TUSCANY-3292) Simple-BigBank-Spring fails with java.util.zip.ZipException: error in opening zip file

     [ https://issues.apache.org/jira/browse/TUSCANY-3292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luciano Resende resolved TUSCANY-3292.
--------------------------------------

    Resolution: Fixed

Fixed. There was a problem when calculating the spring context path, and it was not considering the path from the root of the file system (e.g ignoring initial /)... I have fixed and verified the fix in linux/mac os environment, but would like to see if someone could double check it in windows.

> Simple-BigBank-Spring fails with  java.util.zip.ZipException: error in opening zip file
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-3292
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3292
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.5.1
>            Reporter: Luciano Resende
>            Assignee: Luciano Resende
>             Fix For: Java-SCA-1.5.1
>
>
> samples/simple-bigbank-spring fails for me with:
>     [java] Caused by: org.apache.tuscany.sca.contribution.service.ContributionReadException: Error reading manifest inside the jar folder:
>     [java]     at org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.getApplicationContextResource(SpringXMLComponentTypeLoader.java:772)
>     [java]     at org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.loadFromXML(SpringXMLComponentTypeLoader.java:167)
>     [java]     at org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.load(SpringXMLComponentTypeLoader.java:129)
>     [java]     at org.apache.tuscany.sca.implementation.spring.xml.SpringImplementationProcessor.resolve(SpringImplementationProcessor.java:213)
>     [java]     ... 18 more
>     [java] Caused by: java.util.zip.ZipException: error in opening zip file
>     [java]     at java.util.zip.ZipFile.open(Native Method)
>     [java]     at java.util.zip.ZipFile.<init>(ZipFile.java:131)
>     [java]     at java.util.jar.JarFile.<init>(JarFile.java:150)
>     [java]     at java.util.jar.JarFile.<init>(JarFile.java:87)
>     [java]     at org.apache.tuscany.sca.implementation.spring.introspect.SpringXMLComponentTypeLoader.getApplicationContextResource(SpringXMLComponentTypeLoader.java:749)
>     [java]     ... 21 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.