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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: JBossAS-4.0.5.GA, JBossAS-4.2.1.GA, JBossAS-4.2.2.GA
    • Fix Version/s: None
    • Component/s: EJB
    • Labels:
      None
    • Environment:

      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

        Gliffy Diagrams

          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

                • Assignee:
                  wolfc Carlo de Wolf
                  Reporter:
                  doktora Dok Tora
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: