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

New instance of resources injected on every onMessage MDB call

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • JBossAS-4.0.5.GA, JBossAS-4.2.1.GA, JBossAS-4.2.2.GA
    • EJB
    • None

    Description

      A new instance of an injected bean is created every time the onMessage() method of an MDB is called.

      Details with sample code modifications to EJBTrailBlazer for reproduction can be found here:

      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132331

      Problem was replicated in 4.0.5.GA, 4.2.1 and 4.2.2

      Attachments

        1. CalculatorMDB.java
          2 kB
        2. EJB3Trail.ear
          1.06 MB
        3. EJB3Trail.ear
          1.06 MB
        4. RecordManagerBean.java
          3 kB

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              doktora Dok Tora (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: