Hello Richard, Have you been able to reproduce the issue ?
Best Regards. -----Original Message----- From: COURTAULT Francois Sent: mardi 11 février 2020 10:42 To: users@tomee.apache.org Cc: d...@tomee.apache.org Subject: RE: TOMEE-2770 Hello Richard, It's really easy to reproduce. Just this class to be deploy in a war: @Stateless @Path("v1/notifications") public class NotificationResource { public static final String QUEUE_NAME = "jms/myQueue"; @Resource(name = QUEUE_NAME) private Queue messageQueue; @Inject private JMSContext jmsContext; @GET @Path("downloadInfo") public Response postDownloadInfoJMS() { jmsContext.createProducer().send(messageQueue, jmsContext.createTextMessage("Test")); System.out.println("Message sent !"); return Response.accepted().build(); } } And a beans.xml with bean-discovery-mode="all". Then perform several GET calls with a browser and you will the number of dynamicProducer increase (1 per call). Best Regards. -----Original Message----- From: Zowalla, Richard [mailto:richard.zowa...@hs-heilbronn.de] Sent: lundi 10 février 2020 20:14 To: users@tomee.apache.org Cc: d...@tomee.apache.org Subject: AW: TOMEE-2770 Hi Francois, it would be beneficial, if you could provide a little sample project, which can reproduce the issue. With this in hands, it will be much easier to dig into this issue. Best Richard ________________________________________ Von: COURTAULT Francois [francois.courta...@thalesgroup.com] Gesendet: Montag, 10. Februar 2020 12:51 An: users@tomee.apache.org Cc: d...@tomee.apache.org Betreff: RE: TOMEE-2770 Hello Jonathan, Tried with TomEE 8.0.0 and 8.0.1: same issue. "Am I correct in thinking that if you invoke a business method on an EJB with this code may times: *jmsContext*.createProducer().send(*messageQueue*, *jmsContext* .createTextMessage(*"Test"*));" Yes. "in a heap dump you see a number of producers that aren't being cleared up?" Not in a heap sump: looking at the MBeans using jconsole Best Regards. -----Original Message----- From: Jonathan Gallimore [mailto:jonathan.gallim...@gmail.com] Sent: lundi 10 février 2020 12:46 To: users@tomee.apache.org Cc: d...@tomee.apache.org Subject: Re: TOMEE-2770 There was some work done in this area between TomEE 8.0.0 and 8.0.1, so if you haven't yet tried 8.0.1, please do. In terms of what you're seeing, am I correct in thinking that if you invoke a business method on an EJB with this code may times: *jmsContext*.createProducer().send(*messageQueue*, *jmsContext* .createTextMessage(*"Test"*)); in a heap dump you see a number of producers that aren't being cleared up? Jon On Mon, Feb 10, 2020 at 8:20 AM COURTAULT Francois < francois.courta...@thalesgroup.com> wrote: > Hello everyone, > > Could you look at https://issues.apache.org/jira/browse/TOMEE-2770 > please ? > This is blocking for us :( > > Best Regards. > > > >