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

Cannot install R3 patch on IBM java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • jboss-fuse-6.1
    • Patching
    • % %
    • Hide

      Execute following commands Fuse 6.1 which is running on IBM 1.7 java

      1. patch:add file:/path/to/patch
      2. patch:install jboss-fuse-6.1.1.redhat-445-r3
      Show
      Execute following commands Fuse 6.1 which is running on IBM 1.7 java patch:add file:/path/to/patch patch:install jboss-fuse-6.1.1.redhat-445-r3

      Patch cannot be installed on IBM 1.7 Java. After patch:install command fuse outputs:

      JBossFuse:karaf@root> patch:install jboss-fuse-6.1.1.redhat-445-r3 
      Error executing command: java.lang.RuntimeException: Could not prepare connection for HTTPS.
      

      and following exception appears in the log:

      04:05:46,604 | INFO  | l Console Thread | Console                          | 17 - org.apache.karaf.shell.console - 2.3.0.redhat-610379 | Exception caught while executing command
      org.fusesource.patch.PatchException: java.lang.RuntimeException: Could not prepare connection for HTTPS.
              at org.fusesource.patch.impl.ServiceImpl.install(ServiceImpl.java:460)[114:org.fusesource.patch.patch-core:1.0.0.redhat-379]
              at org.fusesource.patch.impl.ServiceImpl.install(ServiceImpl.java:353)[114:org.fusesource.patch.patch-core:1.0.0.redhat-379]
              at org.fusesource.patch.impl.PatchImpl.install(PatchImpl.java:81)[114:org.fusesource.patch.patch-core:1.0.0.redhat-379]
              at org.fusesource.patch.commands.Install.doExecute(Install.java:48)[113:org.fusesource.patch.patch-commands:1.0.0.redhat-379]
              at org.fusesource.patch.commands.PatchCommandSupport.doExecute(PatchCommandSupport.java:40)[113:org.fusesource.patch.patch-commands:1.0.0.redhat-379]
              at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
              at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
              at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
              at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
              at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
              at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
              at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
              at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
              at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
              at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
      Caused by: java.lang.RuntimeException: Could not prepare connection for HTTPS.
              at org.ops4j.net.URLUtils.prepareForSSL(URLUtils.java:153)[1:org.ops4j.pax.url.mvn:1.3.7]
              at org.ops4j.net.URLUtils.prepareInputStream(URLUtils.java:178)[1:org.ops4j.pax.url.mvn:1.3.7]
              at org.ops4j.pax.url.mvn.internal.DownloadableArtifact.getInputStream(DownloadableArtifact.java:106)[1:org.ops4j.pax.url.mvn:1.3.7]
              at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:185)[1:org.ops4j.pax.url.mvn:1.3.7]
              at java.net.URL.openStream(URL.java:1050)[:1.7.0]
              at org.fusesource.patch.impl.ServiceImpl.install(ServiceImpl.java:369)[114:org.fusesource.patch.patch-core:1.0.0.redhat-379]
              ... 15 more
      Caused by: java.security.NoSuchAlgorithmException: SSLv3 SSLContext not available
              at sun.security.jca.GetInstance.getInstance(GetInstance.java:172)[:1.7.0]
              at javax.net.ssl.SSLContext.getInstance(SSLContext.java:26)[:7.0 build_20140901]
              at org.ops4j.net.URLUtils.prepareForSSL(URLUtils.java:143)[1:org.ops4j.pax.url.mvn:1.3.7]
              ... 20 more
      

              rhn-support-sjavurek Susan Javurek
              knetl.j@gmail.com Jakub Knetl (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: