Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12870

Error while patching standalone container R14 -> R15

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • fuse-6.3-R15-GA
    • ActiveMQ
    • None

      When I try to patch the previous versions (416 -> 424) using these links:
      clean install:
      http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.fuse.bom-jboss-fuse-parent/6.3.0.redhat_416/1/maven/org/jboss/amq/jboss-a-mq/6.3.0.redhat-416/jboss-a-mq-6.3.0.redhat-416.zip

      Patch with:
      http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.fuse.bom-jboss-fuse-parent/6.3.0.redhat_424/2/maven/org/jboss/amq/patch-management-package/6.3.0.redhat-424/patch-management-package-6.3.0.redhat-424.zip
      http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.fuse.bom-jboss-fuse-parent/6.3.0.redhat_424/2/maven/org/jboss/amq/jboss-a-mq/6.3.0.redhat-424/jboss-a-mq-6.3.0.redhat-424.zip

      then I can install this patch with no errors:

      > patch:install jboss-a-mq-6.3.0.redhat-424             
      ...                             
      Rollup patch jboss-a-mq-6.3.0.redhat-424 installed. Restarting Karaf..
      
      > osgi:list -s -t 0 | grep -i 630424 | wc -l
      60
      

      but when I try to do it with the target version (424 -> 433) using this links:
      clean install:
      http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.fuse.bom-jboss-fuse-parent/6.3.0.redhat_424/2/maven/org/jboss/amq/jboss-a-mq/6.3.0.redhat-424/jboss-a-mq-6.3.0.redhat-424.zip

      Patch with:
      http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.fuse.bom-jboss-fuse-parent/6.3.0.redhat_433/1/maven/org/jboss/amq/patch-management-package/6.3.0.redhat-433/patch-management-package-6.3.0.redhat-433.zip
      http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.fuse.bom-jboss-fuse-parent/6.3.0.redhat_433/1/maven/org/jboss/amq/jboss-a-mq/6.3.0.redhat-433/jboss-a-mq-6.3.0.redhat-433.zip

      I get the error:

      > patch:install jboss-a-mq-6.3.0.redhat-433
      ...
      Error executing command: invalid URI: null
      

      Tested on linux (rhel7)

      I'm using this instruction for patching:
      https://access.redhat.com/documentation/en-us/red_hat_jboss_a-mq/6.3/html/managing_and_monitoring_a_broker/esbruntimepatchstandalone (rollup patching)

      the trace of the error:

      io.fabric8.patch.management.PatchException: invalid URI: null
              at io.fabric8.patch.impl.ServiceImpl.featureUpdatesInPatch(ServiceImpl.java:1096)
              at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:463)
              at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:405)
              at io.fabric8.patch.impl.ServiceImpl.install(ServiceImpl.java:400)
              at io.fabric8.patch.commands.SimulateAction.doExecute(SimulateAction.java:44)
              at io.fabric8.patch.commands.PatchActionSupport.doExecute(PatchActionSupport.java:39)
              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)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
              at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
              at io.fabric8.patch.commands.$Simulate692778846.execute(Unknown Source)
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)
              at org.apache.karaf.shell.ssh.ShellCommandFactory$ShellCommand$1$1.run(ShellCommandFactory.java:131)
              at java.security.AccessController.doPrivileged(Native Method)
              at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:67)
              at org.apache.karaf.shell.ssh.ShellCommandFactory$ShellCommand$1.run(ShellCommandFactory.java:123)
      Caused by: java.lang.IllegalArgumentException: invalid URI: null
              at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:51)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:231)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:273)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:253)
              at org.apache.karaf.features.internal.FeaturesServiceImpl.addRepository(FeaturesServiceImpl.java:241)
              at io.fabric8.patch.impl.ServiceImpl.featureUpdatesInPatch(ServiceImpl.java:924)
              ... 25 more
      Caused by: java.lang.IllegalArgumentException: URI is not absolute
              at java.net.URI.toURL(URI.java:1088)
              at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:49)
              ... 30 more
      Error executing command: invalid URI: null

              dcoleman@redhat.com Darren Coleman
              osushche@redhat.com Oleg Sushchenko
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: