activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Pasch (JIRA)" <>
Subject [jira] [Commented] (AMQ-4139) Producer closed and session closed exception after upgrading to activemq version 5.7
Date Tue, 22 Jan 2013 12:44:12 GMT


Thomas Pasch commented on AMQ-4139:

The source it at We encountered the problem on the 3.11
branch - but I downgraded this branch back to 5.6.0 because of

* Check out the source.
* Switch to 3.11.
* Change the property 'activemq.version' from 5.6.0 to 5.7.0 in the (parent) pom.

This is a (big) client-server project. Server is a WAR file for tomcat deployment. Client
is a swing based fat client. 

We use ActiveMQ for sending message from server to client. The messages are mainly send for
client caches invalidation. Because of firewall issues, we use the HTTP(S) (tunnel) transport
of ActiveMQ. 

On the server side, we've got org.nuclos.server.web.activemq.NuclosJMSBrokerTunnelServlet.
On the client side org.nuclos.client.jms.WeakReferenceMessageListener, org.nuclos.client.jms.TopicNotificationReceiver,
and org.nuclos.client.jms.MultiMessageListenerContainer are the (main) JMS entry points.

Both client and server heavily use Spring configuration. This is certainly also the case for
JMS. Messages are sent non-transactional, non-preservative.

After the error a ActiveMQ broker stop and restart is logged in the server log.   

> 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