[jboss-jira] [JBoss JIRA] Commented: (JBAS-5345) New instance of resources injected on every onMessage MDB call

Ian Springer (JIRA) jira-events at lists.jboss.org
Tue Feb 8 11:40:47 EST 2011


    [ https://issues.jboss.org/browse/JBAS-5345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580815#comment-12580815 ] 

Ian Springer commented on JBAS-5345:
------------------------------------

We're hitting this same issue with the RHQ server, which runs on AS 4.2.3.GA. If switching to StrictMaxPool is not a viable solution, what are our other options? Would switching from JBossMQ to HornetQ work? It seems like it might if HornetQ uses a thread pool for MDB calls; can someone from the HornetQ team comment if this is the case?


> New instance of resources injected on every onMessage MDB call
> --------------------------------------------------------------
>
>                 Key: JBAS-5345
>                 URL: https://issues.jboss.org/browse/JBAS-5345
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>    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 
> also
> Java version: 1.5.0_07,Sun Microsystems Inc.
> Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc.
> OS-System: Windows 2003 5.2,x86
>            Reporter: Dok Tora
>            Assignee: Carlo de Wolf
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list