ER3 rc2 patch cannot be applied on standalone karaf container. Patching fails with IllegalArgumentException: checksum location must be relative.
JBossFuse:karaf@root> patch:add file:/home/rjakubco/Downloads/jboss-fuse-6.2.1.redhat-032-micro-release.zip
[name] [installed] [description]
jboss-fuse-6.2.1.redhat-032-micro-release false JBoss Fuse 6.2.1 Micro Release
JBossFuse:karaf@root> patch:
patch:add patch:install patch:list patch:rollback patch:simulate
JBossFuse:karaf@root> patch:install jboss-fuse-6.2.1.redhat-032-micro-release
Error executing command: java.lang.IllegalArgumentException: checksum location must be relative
Entry in log:
2015-09-18 12:47:35,712 | ERROR | l Console Thread | Console | ? ? | 34 - org.apache.karaf.shell.console - 2.4.0.redhat-620133 | Exception caught while executing command io.fabric8.patch.PatchException: java.lang.IllegalArgumentException: checksum location must be relative at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:495) at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:386) at io.fabric8.patch.impl.PatchImpl.install(PatchImpl.java:87) at io.fabric8.patch.commands.InstallAction.doExecute(InstallAction.java:51) at io.fabric8.patch.commands.PatchActionSupport.doExecute(PatchActionSupport.java:34) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_80] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_80] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_80] at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_80] at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[18:org.apache.aries.proxy.impl:1.0.4] at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[18:org.apache.aries.proxy.impl:1.0.4] at io.fabric8.patch.commands.$Install185635899.execute(Unknown Source)[161:io.fabric8.patch.patch-commands:1.2.0.redhat-133] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133] Caused by: java.lang.IllegalArgumentException: checksum location must be relative at shaded.org.eclipse.aether.spi.connector.layout.RepositoryLayout$Checksum.verify(RepositoryLayout.java:92) at shaded.org.eclipse.aether.spi.connector.layout.RepositoryLayout$Checksum.forLocation(RepositoryLayout.java:67) at shaded.org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory$Maven2RepositoryLayout.getChecksums(Maven2RepositoryLayoutFactory.java:149) at shaded.org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory$Maven2RepositoryLayout.getChecksums(Maven2RepositoryLayoutFactory.java:139) at shaded.org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory$Maven2RepositoryLayoutEx.getChecksums(Maven2RepositoryLayoutFactory.java:167) at shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:244) at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520) at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421) at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246) at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223) at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:573) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:528) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:506) at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:481) at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123) at java.net.URL.openStream(URL.java:1041)[:1.7.0_80] at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:404) ... 22 more
I would like to also note thah applying the patch on root container in fabric works without a problem. There are still problems with child container as reported for rc1.