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

ServiceMix does not start some components if some component failed during start

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4.0
    • Component/s: servicemix-core
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      During cotainer start ServiceMix sequentially restores state of components. If any component fails then all other components that come after it are not started. This turnes container into unusable state. For example if we comment out <import resource="classpath:activemq.xml" /> in servicemix.xml and remove dependency of jndi bean on broker bean in jndi.xml then servicemix-wsn2005 will fail and half of other components will not start. ServiceMix have to handle failures during components start.

        Activity

        Hide
        nickolay_martinov Nikolay Martynov added a comment -

        Added patch that logs errors if component failed and continues with other components.

        Show
        nickolay_martinov Nikolay Martynov added a comment - Added patch that logs errors if component failed and continues with other components.
        Hide
        jbonofre Jean-Baptiste Onofré added a comment -

        Revision 1071902.

        Show
        jbonofre Jean-Baptiste Onofré added a comment - Revision 1071902.

          People

          • Assignee:
            jbonofre Jean-Baptiste Onofré
            Reporter:
            nickolay_martinov Nikolay Martynov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development