Hi everyone
I have recently enabled logging for other purposes and now see a lot of these:
[org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager] (Thread-340 (ActiveMQ-client-global-threads-1133741609)) IJ000100: Closing a connection for you. Please close them yourself: org.apache.activemq.artemis.ra.ActiveMQRASession@4a6931cc: java.lang.Throwable: STACKTRACE
The invocation that causes them is in stateless EJB and the jmscontext is injected as
@Inject
private JMSContext myJMSContext;
public void broadcast(Event event)
{
ObjectMessage message = myJMSContext.createObjectMessage(event);
myJMSContext.createProducer().send(mySelectEventTopic, message);
}
using wildlfy 10
Is it normal?
thanks
Marc
This is seems to be the same problem as reported in [JBEAP-4567] Unable to get managed connection exception with injected JMSContext
There is life cycle problem when JMSContext is injected. Pull request with the fix was not yet merged.