Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-785

@PreDestroy not called on view scoped managed bean

    Details

    • Steps to Reproduce:
      Hide

      Generate a simple war using JSF ManagedBean , using the native Jboss JSF impl.
      Then try to view memory with VisualVM.

      Also are not running @PreDestroy

      If necessary I can upload a WAR showing the problem.

      Show
      Generate a simple war using JSF ManagedBean , using the native Jboss JSF impl. Then try to view memory with VisualVM. Also are not running @PreDestroy If necessary I can upload a WAR showing the problem.

      Description

      All JSF ManagedBean are not destroyed and generate a great memory problem.
      This happen for View Scopes

      Nor are running @PreDestroy

      It is not possible to have production environments with jsf, so it is a blocker issue.

        Gliffy Diagrams

          Attachments

          1. InjectionTest.jar
            7 kB
          2. InjectionTest.war
            11 kB
          3. InjectionTest.war
            7 kB
          4. InjectionTestV2.jar
            13 kB
          5. TestingJSFMemoryLeak-1.0-SNAPSHOT.war
            4.04 MB

            Issue Links

              Activity

                People

                • Assignee:
                  ssilvert Stan Silvert
                  Reporter:
                  fenoloco Mauricio Fenoglio
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: