You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "zhangyingneng (JIRA)" <ji...@apache.org> on 2011/07/11 12:08:03 UTC
[jira] [Created] (THRIFT-1235) How could I use
THttpServerTransportFactory withTNonBlockingServer
How could I use THttpServerTransportFactory withTNonBlockingServer
------------------------------------------------------------------
Key: THRIFT-1235
URL: https://issues.apache.org/jira/browse/THRIFT-1235
Project: Thrift
Issue Type: Question
Components: C++ - Library
Affects Versions: 0.6
Environment: C++ Server, Python client
Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux
Reporter: zhangyingneng
My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
{code:cpp}
shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
// TThreadPoolServer server(processor,
// serverTransport,
// httpTransFactory,
// protocolFactory,
// threadManager);
TNonblockingServer server(processor,
httpTransFactory,
httpTransFactory2,
protocolFactory,
protocolFactory,
port,threadManager);
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (THRIFT-1235) How could I use
THttpServerTransportFactory withTNonBlockingServer
Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell closed THRIFT-1235.
--------------------------------
Resolution: Incomplete
Fix Version/s: 0.9
Assignee: Jake Farrell
please ask the dev list regarding this issue if you still need help with it
> How could I use THttpServerTransportFactory withTNonBlockingServer
> ------------------------------------------------------------------
>
> Key: THRIFT-1235
> URL: https://issues.apache.org/jira/browse/THRIFT-1235
> Project: Thrift
> Issue Type: Question
> Components: C++ - Library
> Affects Versions: 0.6
> Environment: C++ Server, Python client
> Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux
> Reporter: zhangyingneng
> Assignee: Jake Farrell
> Fix For: 0.9
>
>
> My THttpServerTransportFactory works fine with TThreadPoolServer but it refuse to work with TNonBlockingServer.
> {code:java}
> shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
> shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
> // TThreadPoolServer server(processor,
> // serverTransport,
> // httpTransFactory,
> // protocolFactory,
> // threadManager);
> TNonblockingServer server(processor,
> httpTransFactory,
> httpTransFactory2,
> protocolFactory,
> protocolFactory,
> port,threadManager);
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1235) How could I use
THttpServerTransportFactory withTNonBlockingServer
Posted by "zhangyingneng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhangyingneng updated THRIFT-1235:
----------------------------------
Description:
My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
{code:c++}
shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
// TThreadPoolServer server(processor,
// serverTransport,
// httpTransFactory,
// protocolFactory,
// threadManager);
TNonblockingServer server(processor,
httpTransFactory,
httpTransFactory2,
protocolFactory,
protocolFactory,
port,threadManager);
{code}
was:
My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
{code:cpp}
shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
// TThreadPoolServer server(processor,
// serverTransport,
// httpTransFactory,
// protocolFactory,
// threadManager);
TNonblockingServer server(processor,
httpTransFactory,
httpTransFactory2,
protocolFactory,
protocolFactory,
port,threadManager);
{code}
> How could I use THttpServerTransportFactory withTNonBlockingServer
> ------------------------------------------------------------------
>
> Key: THRIFT-1235
> URL: https://issues.apache.org/jira/browse/THRIFT-1235
> Project: Thrift
> Issue Type: Question
> Components: C++ - Library
> Affects Versions: 0.6
> Environment: C++ Server, Python client
> Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux
> Reporter: zhangyingneng
>
> My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
> {code:c++}
> shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
> shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
> // TThreadPoolServer server(processor,
> // serverTransport,
> // httpTransFactory,
> // protocolFactory,
> // threadManager);
> TNonblockingServer server(processor,
> httpTransFactory,
> httpTransFactory2,
> protocolFactory,
> protocolFactory,
> port,threadManager);
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1235) How could I use
THttpServerTransportFactory withTNonBlockingServer
Posted by "zhangyingneng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhangyingneng updated THRIFT-1235:
----------------------------------
Description:
My THttpServerTransportFactory works fine with TThreadPoolServer but it refuse to work with TNonBlockingServer.
{code:java}
shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
// TThreadPoolServer server(processor,
// serverTransport,
// httpTransFactory,
// protocolFactory,
// threadManager);
TNonblockingServer server(processor,
httpTransFactory,
httpTransFactory2,
protocolFactory,
protocolFactory,
port,threadManager);
{code}
was:
My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
{code:java}
shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
// TThreadPoolServer server(processor,
// serverTransport,
// httpTransFactory,
// protocolFactory,
// threadManager);
TNonblockingServer server(processor,
httpTransFactory,
httpTransFactory2,
protocolFactory,
protocolFactory,
port,threadManager);
{code}
> How could I use THttpServerTransportFactory withTNonBlockingServer
> ------------------------------------------------------------------
>
> Key: THRIFT-1235
> URL: https://issues.apache.org/jira/browse/THRIFT-1235
> Project: Thrift
> Issue Type: Question
> Components: C++ - Library
> Affects Versions: 0.6
> Environment: C++ Server, Python client
> Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux
> Reporter: zhangyingneng
>
> My THttpServerTransportFactory works fine with TThreadPoolServer but it refuse to work with TNonBlockingServer.
> {code:java}
> shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
> shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
> // TThreadPoolServer server(processor,
> // serverTransport,
> // httpTransFactory,
> // protocolFactory,
> // threadManager);
> TNonblockingServer server(processor,
> httpTransFactory,
> httpTransFactory2,
> protocolFactory,
> protocolFactory,
> port,threadManager);
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (THRIFT-1235) How could I use
THttpServerTransportFactory withTNonBlockingServer
Posted by "zhangyingneng (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhangyingneng updated THRIFT-1235:
----------------------------------
Description:
My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
{code:java}
shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
// TThreadPoolServer server(processor,
// serverTransport,
// httpTransFactory,
// protocolFactory,
// threadManager);
TNonblockingServer server(processor,
httpTransFactory,
httpTransFactory2,
protocolFactory,
protocolFactory,
port,threadManager);
{code}
was:
My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
{code:c++}
shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
// TThreadPoolServer server(processor,
// serverTransport,
// httpTransFactory,
// protocolFactory,
// threadManager);
TNonblockingServer server(processor,
httpTransFactory,
httpTransFactory2,
protocolFactory,
protocolFactory,
port,threadManager);
{code}
> How could I use THttpServerTransportFactory withTNonBlockingServer
> ------------------------------------------------------------------
>
> Key: THRIFT-1235
> URL: https://issues.apache.org/jira/browse/THRIFT-1235
> Project: Thrift
> Issue Type: Question
> Components: C++ - Library
> Affects Versions: 0.6
> Environment: C++ Server, Python client
> Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux
> Reporter: zhangyingneng
>
> My THttpServerTransportFactory works fine with TThreadPoolServer while it refuse to work with TNonBlockingServer.
> {code:java}
> shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
> shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
> // TThreadPoolServer server(processor,
> // serverTransport,
> // httpTransFactory,
> // protocolFactory,
> // threadManager);
> TNonblockingServer server(processor,
> httpTransFactory,
> httpTransFactory2,
> protocolFactory,
> protocolFactory,
> port,threadManager);
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira