Mark Soderquist created QPID-6317:
-------------------------------------
Summary: Calling Session.close prevents new session from being
created
Key: QPID-6317
URL: https://issues.apache.org/jira/browse/QPID-6317
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: 0.30
Environment: Java 1.7.0_60
Reporter: Mark Soderquist
While attempting to create a new session with an already open connection the
new session creation fails with the following exception:
org.apache.qpid.amqp_1_0.client.Sender$SenderCreationException: Session is
closed while creating link, target: mark
at org.apache.qpid.amqp_1_0.client.Sender.<init>(Sender.java:187)
at org.apache.qpid.amqp_1_0.client.Sender.<init>(Sender.java:119)
at org.apache.qpid.amqp_1_0.client.Sender.<init>(Sender.java:112)
at org.apache.qpid.amqp_1_0.client.Sender.<init>(Sender.java:98)
at org.apache.qpid.amqp_1_0.client.Sender.<init>(Sender.java:84)
at org.apache.qpid.amqp_1_0.client.Sender.<init>(Sender.java:78)
at org.apache.qpid.amqp_1_0.client.Session.createSender(Session.java:73)
If the prior session is not closed then the new session is successfully created
but this would potentially cause a session leak.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]