[
https://issues.apache.org/jira/browse/AMQ-4139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559595#comment-13559595
]
Thomas Pasch commented on AMQ-4139:
-----------------------------------
The source it at https://bitbucket.org/nuclos/nuclos. We encountered the
problem on the 3.11 branch - but I downgraded this branch back to 5.6.0 because
of http://support.nuclos.de/browse/NUCLOS-1565 .
Hence:
* 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: https://issues.apache.org/jira/browse/AMQ-4139
> 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(ActiveMQMessageProducer.java:185)
> at
> org.apache.activemq.ActiveMQMessageProducerSupport.getDeliveryMode(ActiveMQMessageProducerSupport.java:148)
> at
> org.apache.activemq.pool.PooledProducer.<init>(PooledProducer.java:44)
> Exception2 :
> javax.jms.IllegalStateException: The Session is closed
> at
> org.apache.activemq.ActiveMQSession.checkClosed(ActiveMQSession.java:731)
> at
> org.apache.activemq.ActiveMQSession.rollback(ActiveMQSession.java:574)
--
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: http://www.atlassian.com/software/jira