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

Intermittent startup failures in Minion due to missing org.apache.xerces.parsers bundle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 21.0.1
    • Fix Version/s: 21.0.2
    • Component/s: Minion
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      I've noticed the following exception intermittently creep up when starting the Minion container. It also happens in some of our Bamboo jobs:

      2017-11-22T22:53:40,297 | INFO  | ForkJoinPool.commonPool-worker-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.1.2 | Adding features: minion-core/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-jms/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-core-shell/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], pax-war/[6.0.6,6.0.6], opennms-core-ipc-rpc-jms/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], opennms-core-ipc-sink-camel/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], opennms-syslogd-listener-camel-netty/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], opennms-trapd-listener/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-shell/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-heartbeat-producer/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-snmp-proxy/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-provisiond-detectors/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-provisiond-requisitions/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-poller/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-collection/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-icmp-proxy/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT], minion-telemetryd-listeners/[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT]
      2017-11-22T22:53:40,311 | INFO  | features-1-thread-1 | FeaturesServiceImpl              | 9 - org.apache.karaf.features.core - 4.1.2 | Done.
      2017-11-22T22:53:47,319 | ERROR | ForkJoinPool.commonPool-worker-1 | KarafExtender                    | 56 - org.opennms.features.minion.container.extender - 22.0.0.SNAPSHOT | Failed to install one or more features.
      org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=minion-provisiond-detectors; type=karaf.feature; version="[22.0.0.SNAPSHOT,22.0.0.SNAPSHOT]"; filter:="(&(osgi.identity=minion-provisiond-detectors)(type=karaf.feature)(version>=22.0.0.SNAPSHOT)(version<=22.0.0.SNAPSHOT))" [caused by: Unable to resolve minion-provisiond-detectors/22.0.0.SNAPSHOT: missing requirement [minion-provisiond-detectors/22.0.0.SNAPSHOT] osgi.identity; osgi.identity=opennms-provisioning-detectors; type=karaf.feature [caused by: Unable to resolve opennms-provisioning-detectors/22.0.0.SNAPSHOT: missing requirement [opennms-provisioning-detectors/22.0.0.SNAPSHOT] osgi.identity; osgi.identity=wsman-integration; type=karaf.feature [caused by: Unable to resolve wsman-integration/22.0.0.SNAPSHOT: missing requirement [wsman-integration/22.0.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.servicemix.bundles.xalan; type=osgi.bundle; version="[2.7.2.3,2.7.2.3]"; resolution:=mandatory [caused by: Unable to resolve org.apache.servicemix.bundles.xalan/2.7.2.3: missing requirement [org.apache.servicemix.bundles.xalan/2.7.2.3] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.xerces.parsers)(version>=2.8.1)(!(version>=3.0.0)))"]]]]
      	at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) ~[?:?]
      	at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389) ~[?:?]
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) ~[?:?]
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347) ~[?:?]
      	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:218) ~[?:?]
      	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:291) ~[?:?]
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1233) ~[?:?]
      	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1132) ~[?:?]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
      	at java.lang.Thread.run(Thread.java:748) [?:?]
      

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: