activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kalyan chakravarthi (JIRA)" <>
Subject [jira] [Commented] (AMQ-4139) Producer closed and session closed exception after upgrading to activemq version 5.7
Date Sat, 27 Oct 2012 22:07:12 GMT


kalyan chakravarthi commented on AMQ-4139:


 Below is the scenario.
1. I have activemq broker(5.7.0) embedded in jboss 4.2.
2. Spring Default Message Listener container(DMLC) is used for consuming messages.
3. Redelivery is configured on the broker side with a redelivery delay of 2 minutes(120000ms)
for 4 maximum redelivery attempts.
4.JMS transaction manager is configured in the spring DMLC.

Below are the steps:
1. Create a message and send to the Queue1.
2. Spring DMLC will consume message and produces another message to queue2.

   When the above scenario is tested with one message it works correct. But when the load
test is done with the above scenario. it causes the exception Producer is closed. The above
scenario works well in the activemq 5.4.2 version. The reason for upgrade to 5.7.0 is the
broker redelivery.

 Please let me know if any more details are needed.
> Producer closed and session closed exception after upgrading to activemq version 5.7
> ------------------------------------------------------------------------------------
>                 Key: AMQ-4139
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.7.0
>            Reporter: kalyan chakravarthi
> Hi,
>   I have recently updated to Active MQ version 5.7 from 5.4.2, to take the advantage
of broker redelivery. Once i have upgraded, i am facing the below exception.
> Exception1: Caused by: javax.jms.IllegalStateException: The producer is closed
> 	at org.apache.activemq.ActiveMQMessageProducer.checkClosed(
> 	at org.apache.activemq.ActiveMQMessageProducerSupport.getDeliveryMode(
> 	at org.apache.activemq.pool.PooledProducer.<init>(
> Exception2 :
> javax.jms.IllegalStateException: The Session is closed
> 	at org.apache.activemq.ActiveMQSession.checkClosed(
> 	at org.apache.activemq.ActiveMQSession.rollback(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message