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

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

      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

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

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

              Created:
              Updated:
              Resolved: