[ 
https://issues.apache.org/jira/browse/THRIFT-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306715#comment-14306715
 ] 

Alik Elzin commented on THRIFT-2979:
------------------------------------

I see several options for resolution:
1. Change the constructor to accept only the TServerTransport that 
TThreadPoolServer knows how to work with.
2. Document it.
3. Give a more significant answer that will help understand what was done wrong.

I prefer the 1st option.

> TThreadPoolServer accepts but does not work with TNonblockingServerSocket
> -------------------------------------------------------------------------
>
>                 Key: THRIFT-2979
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2979
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.9.2
>         Environment: Windows 7 64b.
>            Reporter: Alik Elzin
>            Priority: Minor
>
> TThreadPoolServer.Args() accepts in the constructor the generic 
> TServerTransport, but when using the TNonblockingServerSocket implementation, 
> and exception is thrown:
> TTransportException: java.net.SocketException: Software caused connection 
> abort: recv failed.
> When switching to THsHaServer, everything worked fine.
> See more info in an SO question:
> http://stackoverflow.com/q/28289569/435605



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to