users@glassfish.java.net

Re: debug "Cannot perform operation, connection is closed" with Open MQ 4.4

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Wed, 14 Sep 2011 11:19:42 +0100

The error message "Cannot perform operation, connection is closed" means that the application has

1. created a connection (using connection=connectionFactory.createConnection())
2, closed the connection (using connection.close())
3. tried to use the connection to create a session (using session=connection.createSession())

The first place to look, then, is at the application code to confirm whether or not your code is (perhaps
unintentionally) doing that.

Nigel