Uploaded image for project: 'aaa'
  1. aaa
  2. AAA-175

Jersey does not start when multiple features are loaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Oxygen
    • None
    • General
    • None

      Jersey does not start and you can see following line is missing in the karaf.log:

      2018-04-10T18:43:26,196 | INFO | paxweb-extender-2-thread-1 | WebApplicationImpl | 41 - com.sun.jersey.jersey-server - 1.19.4 | Initiating Jersey application, version 'Jersey: 1.19.4 05/24/2017 03:20 PM'

      The issue is visible in distribution-check (see red builds):

      https://jenkins.opendaylight.org/releng/view/genius/job/genius-distribution-check-oxygen/

      As well as in CSIT -all test (see regression):

      https://jenkins.opendaylight.org/releng/view/openflowplugin-oxygen/job/openflowplugin-csit-1node-flow-services-all-oxygen/

      Regression started with recent upstream migration but at this moment there is no guarantee but just high probability this is the cause.

      To reproduce:

      1) Download or build latest stable/oxygen distribution
      2) Edit org.apache.karaf.features.cfg to add test repo: mvn:org.opendaylight.integration/features-test/0.8.1-SNAPSHOT/xml/features and feature: odl-integration-compatible-with-all
      3) Start the distribution

      After a while all bundles are up but jersey instances for shiro, restconf, apidocs and neutron are not so REST interface is unusable.

      I tried different combination of features to mitigate the issue and although some combinations avoid the issue there is no clear pattern or single feature to blame. Another thing to notice is that the above steps work for me if instead of installing feature via config file I install via karaf CLI which means karaf itself can be part of the problem too.

            skitt Stephen Kitt
            ecelgp Luis Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: