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

@PreDestroy not called on view scoped managed bean

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • JSF
    • 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.

      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.

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

              ssilvert@redhat.com Stan Silvert
              fenoloco Mauricio Fenoglio (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: