[
https://issues.apache.org/jira/browse/QPID-1251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649695#action_12649695
]
Marnie McCormack commented on QPID-1251:
----------------------------------------
Exception being thrown is:
org.apache.qpid.transport.ConnectionException: socket closed
at org.apache.qpid.transport.Connection.close(Connection.java:477)
at org.apache.qpid.transport.Connection.connect(Connection.java:184)
at
org.apache.qpid.client.AMQConnectionDelegate_0_10.makeBrokerConnection(AMQConnectionDelegate_0_10.java:149)
at
org.apache.qpid.client.AMQConnection.makeBrokerConnection(AMQConnection.java:629)
at org.apache.qpid.client.AMQConnection.<init>(AMQConnection.java:422)
at
org.apache.qpid.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:276)
at
org.apache.qpid.example.subscriber.Subscriber.subscribe(Subscriber.java:125)
at
org.apache.qpid.example.subscriber.SubscriptionWrapper.main(SubscriptionWrapper.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
After Arnaud's original changes a RuntimeException was being thrown, with same
result i.e. no protocol negotiation. Not sure from JIRA comments whether it was
intended that protocol negotiation would not work on Windows with this change ?
Think we need to discuss on list to decide how to resolve once Arnaud has had a
chance to take a look pls ? Thanks !
> IO transport does not cleanly close on Windows
> ----------------------------------------------
>
> Key: QPID-1251
> URL: https://issues.apache.org/jira/browse/QPID-1251
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: M3
> Environment: Windows
> Reporter: Arnaud Simon
> Assignee: Rob Godfrey
> Priority: Critical
> Fix For: M3
>
>
> Description:
> There is an issue on Windows platform with the io transport as
> socket.shutdownInput() does not result of the reader getting an EOF. This
> means that the IOReceiver thread does not terminate as expected and the main
> thread does not join. This prevents the protocol version switching mechanism
> to work.
> Solution:
> We will be using a new nio transport that should solve this issue. I would
> therefore suggest that we only provide a simple mechanism for selecting the
> default version used and tell Windows users to set it to 0.9 when using the
> current java broker.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.