Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2557

Not all events are fired

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.1.2.Final
    • 3.0.5.Final
    • None
    • None

    Description

      I have a war application that contains a jar with commonly used code. Both contain a beans.xml set to version 2.0 and both have a application-scoped bean with an observer method for the initialized event of the application scope. Additionally both have an observer method for the destroyed event of the application scope.

      My observation is that only the observer inside the war is fire 100% of the time. The initialized-observer in the jar is sometimes ignored. I can't find any pattern when it fires and when not. The destroyed-observer is always fired in both cases (even if the initialized-observer didn't fire).

      I'm not able to debug the whole thing because it always works as soon as I start the server in debug mode.

      Attachments

        Issue Links

          Activity

            People

              manovotn Matěj Novotný
              ste_gr Stefan Gr (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: