]
Dok Tora updated JBAS-5345:
---------------------------
Attachment: CalculatorMDB.java
RecordManagerBean.java
EJB3Trail.ear
This is the modified source code.
Ignore the previous EJB3Trail.ear, this one is the correct one.
New instance of resources injected on every onMessage MDB call
--------------------------------------------------------------
Key: JBAS-5345
URL:
http://jira.jboss.com/jira/browse/JBAS-5345
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JMS service
Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.2.1.GA, JBossAS-4.2.2.GA
Environment: Java version: 1.5.0_13,Apple Computer, Inc.
OS-System: Mac OS X 10.4.11,i386
Reporter: Dok Tora
Assigned To: Adrian Brock
Priority: Critical
Attachments: CalculatorMDB.java, EJB3Trail.ear, EJB3Trail.ear,
RecordManagerBean.java
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: