[
https://issues.apache.org/jira/browse/PROTON-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15647374#comment-15647374
]
ASF subversion and git services commented on PROTON-1346:
---------------------------------------------------------
Commit 6afca2def4858fb4a069c224b2f2041f933e8fe5 in qpid-proton's branch
refs/heads/master from Shibi
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=6afca2d ]
PROTON-1346: IOException doesn't necessarily catch
java.nio.channels.UnresolvedAddressException which is thrown when
server is unavailable. This will cause reactor to fail and require a client
restart. changing to Exception
and close transport, so client can recover from failure even if 1 server is
down without stopping reactor
This closes #86
> proton-j layer reactor exit when UnresolvedAddressException is thrown
> ---------------------------------------------------------------------
>
> Key: PROTON-1346
> URL: https://issues.apache.org/jira/browse/PROTON-1346
> Project: Qpid Proton
> Issue Type: Bug
> Affects Versions: 0.15.0
> Reporter: Shibi Sudhakaran
> Labels: crash, patch
> Fix For: 0.16.0
>
>
> When router not available, proton-j reactor fails with following exception.
> It will cause the reactor to close, forcing client to re-initialize reactor.
> Caused by: java.nio.channels.UnresolvedAddressException: null
> at sun.nio.ch.Net.checkAddress(Net.java:101)
> at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622)
> at
> org.apache.qpid.proton.reactor.impl.IOHandler.handleBound(IOHandler.java:155)
> at
> org.apache.qpid.proton.reactor.impl.IOHandler.onUnhandled(IOHandler.java:372)
> at
> org.apache.qpid.proton.engine.BaseHandler.onConnectionBound(BaseHandler.java:58)
> at
> org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:131)
> at
> org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]