Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2188

Feature install triggers waterfall bundle refresh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 5.0.0
    • 5.0.1
    • None
    • None
    • Servicemix 5 latest github trunk

    Description

      When installing the following feature (test feature also attached):

      <feature name="test-feature" version="${version}" resolver="(obr)">
          <feature version="${camel.version}">camel-jetty</feature>
          <feature version="${camel.version}">camel-jms</feature>
          <feature version="${camel.version}">camel-jaxb</feature>
          <feature version="${cxf.version}">cxf-wsn</feature>
      </feature>
      

      I get the following message in the console:

      log4j:WARN No appenders could be found for logger (org.ops4j.pax.web.pax-web-runtime).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      

      sometimes preceded by:

      Refreshing bundles org.springframework.web.servlet (132), org.springframework.jms (133), org.springframework.web (131)
      

      After this, bad things happen ...
      Usually,some crucial bundels don't restart but in some cases the logger gets disabled. From time to time I even get an unresponsive console.

      A short observation of the debug log, it showed te shutdown of the logger and sometimes even some of the the karaf console bundles. The result is rather random but never good.

      I found out about the problem by writing the features file for a new wsn example wich can be found here: https://github.com/aapje007/servicemix5/tree/SMX4-1189
      Installing the examples-cxf-wsn-receive releases shows a similar behaviour.

      Attachments

        1. features.xml
          0.4 kB
          Wim Verreydt

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wverreydt Wim Verreydt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: