You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2015/01/15 22:37:34 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14279320#comment-14279320 ] 

Rob Godfrey commented on QPID-6317:
-----------------------------------

Can you confirm which broker/service you are connection to with the client? (MS ServiceBus?)

Also if you can provide protocol debug logging that would be great

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