Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7670

TomcatInjectionContainer not working for JSF managed beans.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 6.0.0.M2
    • JSF, Web (Tomcat) service
    • None

    Description

      I have a simple test in testsuite that does @PostConstruct and @PreDestroy on a managed bean. It's the JSFIntegrationUnitTestCase (see linked issue). One of the failures is caused because TomcatInjectionContainer doesn't seem to be doing anything when called. I've verified that the managed bean is passed to the proper postConstruct(), preDestroy(), and processInjectors() methods of TomcatInjectionContainer. However, the methods on the managed bean are never called.

      This worked in milestone 1 but appears broken in milestone 2.

      Can you take a look, Emanuel?

      Attachments

        Issue Links

          Activity

            People

              emuckenhuber_jira Emanuel Muckenhuber (Inactive)
              ssilvert@redhat.com Stan Silvert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: