Return-Path: X-Original-To: apmail-continuum-issues-archive@www.apache.org Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D78517E4E for ; Tue, 24 Feb 2015 18:56:37 +0000 (UTC) Received: (qmail 83669 invoked by uid 500); 24 Feb 2015 18:56:15 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 83640 invoked by uid 500); 24 Feb 2015 18:56:15 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 83624 invoked by uid 99); 24 Feb 2015 18:56:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 18:56:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 18:55:50 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 4A356B1161 for ; Tue, 24 Feb 2015 12:55:18 -0600 (CST) Date: Tue, 24 Feb 2015 12:55:18 -0600 (CST) From: "Brent N Atkinson (JIRA)" To: issues@continuum.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (CONTINUUM-2558) Migration 1.3.6 => 1.4.0 (beta) fails with ZipException when reading a pom file MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/CONTINUUM-2558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=364098#comment-364098 ] Brent N Atkinson commented on CONTINUUM-2558: --------------------------------------------- [~astik], thank you for entering the issue. I was able to resolve the related issues, so export should work for you now. > Migration 1.3.6 => 1.4.0 (beta) fails with ZipException when reading a pom file > ------------------------------------------------------------------------------- > > Key: CONTINUUM-2558 > URL: https://jira.codehaus.org/browse/CONTINUUM-2558 > Project: Continuum > Issue Type: Bug > Affects Versions: 1.4.0 (Beta) > Environment: Windows 2008 Server > Reporter: Stefan Cordes > Assignee: Brent N Atkinson > Labels: backlog-to-cleanup > Fix For: 1.5.0 > > > I exported my 1.3.6 Continuum via > {code} > java -Xmx512m -jar data-management-cli-1.3.6-app.jar -buildsJdbcUrl jdbc:derby:D:\workspaces\continuum\apache-continuum-1.3.6/data/databases/continuum -mode EXPORT -directory backups -debug true -settings settings.xml > {code} > When importing to 1.4.0 (beta) with > {code} > java -Xmx512m -jar data-management-cli-1.4.0-app.jar -buildsJdbcUrl jdbc:derby:apache-continuum-1.4.0/data/databases/continuum -mode IMPORT -directory backups -settings settings.xml -debug true -strict > {code} > I get following ZipException when reading maven-scm-providers-standard-1.2.pom which is not a ZIP. > {code} > 439879 [main] DEBUG org.codehaus.plexus.spring.PlexusBeanDefinitionDocumentReader - Plexus Bean Definition Document suc > cessfully translated to Spring > 439879 [main] DEBUG org.codehaus.plexus.spring.PlexusBeanDefinitionDocumentReader - "?> > :plexus="http://plexus.codehaus.org/spring" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" default-lazy-init="tru > e" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-be > ans-2.5.xsd http://plexus.codehaus.org/spring http://plexus.codehaus.org/schemas/spring-1.0.x > sd"> > > > 439879 [main] DEBUG org.codehaus.plexus.spring.PlexusBeanDefinitionDocumentReader - Loading bean definitions > 439879 [main] DEBUG org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader - Loaded 1 bean definitions from location > pattern [jar:file:C:\Users\dt0b35\.m2\repository\org\apache\maven\shared\maven-invoker\2.0.9\maven-invoker-2.0.9.jar!/** > /META-INF/plexus/components.xml] > 439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Looking for matching reso > urces in jar file [file:C:/Users/dt0b35/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar] > 439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Resolved location pattern > [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/spring-context.xm > l] to resources [] > 439879 [main] DEBUG org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader - Loaded 0 bean definitions from location > pattern [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/spring-con > text.xml] > 439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Looking for matching reso > urces in jar file [file:C:/Users/dt0b35/.m2/repository/commons-cli/commons-cli/1.0/commons-cli-1.0.jar] > 439879 [main] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Resolved location pattern > [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/plexus/components > .xml] to resources [] > 439879 [main] DEBUG org.codehaus.plexus.spring.PlexusXmlBeanDefinitionReader - Loaded 0 bean definitions from location > pattern [jar:file:C:\Users\dt0b35\.m2\repository\commons-cli\commons-cli\1.0\commons-cli-1.0.jar!/**/META-INF/plexus/com > ponents.xml] > Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Could not resolve bean defini > tion resource pattern [jar:file:C:\Users\dt0b35\.m2\repository\org\apache\maven\scm\maven-scm-providers-standard\1.2\mav > en-scm-providers-standard-1.2.pom!/**/META-INF/spring-context.xml]; nested exception is java.util.zip.ZipException: Erro > r opening zip file C:\Users\dt0b35\.m2\repository\org\apache\maven\scm\maven-scm-providers-standard\1.2\maven-scm-provid > ers-standard-1.2.pom > at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini > tionReader.java:190) > at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini > tionReader.java:149) > at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini > tionReader.java:212) > at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationC > ontext.java:113) > at org.apache.maven.continuum.management.util.PlexusFileSystemXmlApplicationContext.loadBeanDefinitions(PlexusFi > leSystemXmlApplicationContext.java:72) > at org.apache.maven.continuum.management.util.PlexusFileSystemXmlApplicationContext.loadBeanDefinitions(PlexusFi > leSystemXmlApplicationContext.java:94) > at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefresha > bleApplicationContext.java:123) > at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationCont > ext.java:422) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) > at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.ja > va:140) > at org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.ja > va:106) > at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:295) > at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:189) > Caused by: java.util.zip.ZipException: Error opening zip file C:\Users\dt0b35\.m2\repository\org\apache\maven\scm\maven- > scm-providers-standard\1.2\maven-scm-providers-standard-1.2.pom > at java.util.zip.ZipFile.open(Native Method) > at java.util.zip.ZipFile.(ZipFile.java:238) > at java.util.jar.JarFile.(JarFile.java:168) > at java.util.jar.JarFile.(JarFile.java:106) > at sun.net.www.protocol.jar.URLJarFile.(URLJarFile.java:71) > at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:56) > at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99) > at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:131) > at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:98) > at org.springframework.core.io.support.PathMatchingResourcePatternResolver.doFindPathMatchingJarResources(PathMa > tchingResourcePatternResolver.java:430) > at org.springframework.core.io.support.PathMatchingResourcePatternResolver.findPathMatchingResources(PathMatchin > gResourcePatternResolver.java:339) > at org.springframework.core.io.support.PathMatchingResourcePatternResolver.getResources(PathMatchingResourcePatt > ernResolver.java:276) > at org.springframework.context.support.AbstractApplicationContext.getResources(AbstractApplicationContext.java:1 > 018) > at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini > tionReader.java:177) > ... 12 more > D:\workspaces\continuum> > {code} -- This message was sent by Atlassian JIRA (v6.1.6#6162)