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

Tony Stevenson moved DEFT-125 to AWF-67:
----------------------------------------

    Reporter: Niklas Gustavsson
         Key: AWF-67  (was: DEFT-125)
     Project: Apache AWF  (was: Deft)
    
> Improve failure handling for AsynchronousHttpClient
> ---------------------------------------------------
>
>                 Key: AWF-67
>                 URL: https://issues.apache.org/jira/browse/AWF-67
>             Project: Apache AWF
>          Issue Type: Bug
>            Reporter: Niklas Gustavsson
>
> fetch(..) throws (connects to unexisting hostname (eg, 
> http://tasdft.se/start/))
>     java.nio.channels.UnresolvedAddressException
> and if we connect to, eg. http://localhost/start (not listening on port 80), 
>     21:56:42.778 [I/O-LOOP] ERROR org.deftserver.io.IOLoop - Exception 
> received in IOLoop: {}
>     java.net.ConnectException: Connection refused
>       at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 
> ~[na:1.6.0_22]
>       at 
> sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574) 
> ~[na:1.6.0_22]
>       at 
> org.deftserver.io.AsynchronousSocket.handleConnect(AsynchronousSocket.java:95)
>  ~[classes/:na]
>       at org.deftserver.io.IOLoop.start(IOLoop.java:79) ~[classes/:na]
>       at 
> org.deftserver.example.AsynchronousHttpClientExample.main(AsynchronousHttpClientExample.java:15)
>  [classes/:na]
> is thrown

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to