Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-6360

Intermittent "unknown protocol: blueprint" errors on startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.2.6
    • None
    • karaf
    • None

    Description

      We have some features that use Blueprint which are included in the
      featuresBoot and we've been noticing that these fail to load
      intermittently on startup.

      When it fails, we get a 'java.lang.IllegalStateException: Unknown
      protocol: blueprint' when our 'scv' feature. See attached log.

      The featuresBoot is defined as follows: https://github.com/OpenNMS/opennms/blob/bec4abd8e1e75d5a2e23d6b02fc7d93c0414902c/container/shared/src/main/filtered-resources/etc/org.apache.karaf.features.cfg#L34

      Given that the "aries-blueprint" feature is installed before the "scv" feature, I would expect the "blueprint" protocol to be known, but there appears to be some race condition here.

      Attachments

        1. karaf.blueprint.error.log
          53 kB
          Jesse WHite

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            j-white Jesse WHite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: