Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9324

'wrap' protocol not loading early enough with Karaf 4.0.8

    XMLWordPrintable

    Details

    • Sprint:
      Horizon - June 7th

      Description

      Just got a bamboo failure during Karaf 4.0.8 startup. It looks like we need to make sure that the wrap feature is installed before everything else.

      2017-05-07 15:36:46,956 INFO  org.apache.karaf.features.core:4.0.8(8) [pool-16-thread-2] org.apache.karaf.features.internal.service.FeaturesServiceImpl: Adding features: ssh/[4.0.8,4.0.8], config/[4.0.8,4.0.8], management/[4.0.8,4.0.8], http/[4.0.8,4.0.8], http-whiteboard/[4.0.8,4.0.8], kar/[4.0.8,4.0.8], deployer/[4.0.8,4.0.8], opennms-es-rest/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-jaas-login-module/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], datachoices/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-collection-commands/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-events-commands/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-icmp-commands/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-snmp-commands/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-topology-runtime-browsers/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-topology-runtime-linkd/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-topology-runtime-vmware/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-topology-runtime-application/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-topology-runtime-bsm/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-provisioning-shell/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-poller-shell/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], opennms-topology-runtime-graphml/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], osgi-nrtg-local/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], vaadin-node-maps/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], vaadin-snmp-events-and-metrics/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], vaadin-dashboard/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-summary/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-alarms/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-bsm/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-map/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-image/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-charts/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-rtc/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-rrd/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-ksc/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-topology/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-url/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], dashlet-surveillance/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], vaadin-surveillance-views/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], vaadin-jmxconfiggenerator/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], vaadin-opennms-pluginmanager/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], vaadin-adminpage/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], org.opennms.features.bsm.shell-commands/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], internal-plugins-descriptor/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT], geolocation/[19.0.0.SNAPSHOT,19.0.0.SNAPSHOT]
      2017-05-07 15:38:42,280 ERROR org.apache.karaf.features.core:4.0.8(8) [pool-16-thread-2] org.apache.karaf.features.internal.service.BootFeaturesInstaller: Error installing boot features
      org.apache.karaf.features.internal.util.MultiException: Error
      	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:363)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:360)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:187)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[8:org.apache.karaf.features.core:4.0.8]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_131]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_131]
      	at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
      Caused by: java.io.IOException: Error downloading wrap:file:/opt/opennms/system/org/vaadin/addons/dragdroplayouts/1.1.1/dragdroplayouts-1.1.1.jar
      	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:77)[8:org.apache.karaf.features.core:4.0.8]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_131]
      	... 3 more
      Caused by: java.io.IOException: Could not download [wrap:file:/opt/opennms/system/org/vaadin/addons/dragdroplayouts/1.1.1/dragdroplayouts-1.1.1.jar]
      	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:90)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60)[8:org.apache.karaf.features.core:4.0.8]
      	... 7 more
      Caused by: java.net.MalformedURLException: Unknown protocol: wrap
      	at java.net.URL.<init>(URL.java:627)[:1.8.0_131]
      	at java.net.URL.<init>(URL.java:490)[:1.8.0_131]
      	at java.net.URL.<init>(URL.java:439)[:1.8.0_131]
      	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:62)[8:org.apache.karaf.features.core:4.0.8]
      	... 8 more
      Caused by: java.lang.IllegalStateException: Unknown protocol: wrap
      	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)[org.apache.felix.framework-5.6.1.jar:]
      	at java.net.URL.<init>(URL.java:622)[:1.8.0_131]
      	... 11 more
      Caused by: java.io.IOException: Error downloading wrap:file:/opt/opennms/system/org/vaadin/addons/dragdroplayouts/1.1.1/dragdroplayouts-1.1.1.jar
      	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:77)[8:org.apache.karaf.features.core:4.0.8]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_131]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_131]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_131]
      	... 3 more
      Caused by: java.io.IOException: Could not download [wrap:file:/opt/opennms/system/org/vaadin/addons/dragdroplayouts/1.1.1/dragdroplayouts-1.1.1.jar]
      	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:90)[8:org.apache.karaf.features.core:4.0.8]
      	at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60)[8:org.apache.karaf.features.core:4.0.8]
      	... 7 more
      Caused by: java.net.MalformedURLException: Unknown protocol: wrap
      	at java.net.URL.<init>(URL.java:627)[:1.8.0_131]
      	at java.net.URL.<init>(URL.java:490)[:1.8.0_131]
      	at java.net.URL.<init>(URL.java:439)[:1.8.0_131]
      	at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:62)[8:org.apache.karaf.features.core:4.0.8]
      	... 8 more
      Caused by: java.lang.IllegalStateException: Unknown protocol: wrap
      	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:373)[org.apache.felix.framework-5.6.1.jar:]
      	at java.net.URL.<init>(URL.java:622)[:1.8.0_131]
      	... 11 more
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                seth Seth Leger
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: