You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2015/02/24 22:04:04 UTC

[jira] [Closed] (QPID-6317) Calling Session.close prevents new session from being created

     [ https://issues.apache.org/jira/browse/QPID-6317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall closed QPID-6317.
----------------------------
    Resolution: Duplicate

Closing as duplicate as per Rob Godfrey's last comment.

> 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: JMS AMQP 1.0 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org