[ http://issues.apache.org/jira/browse/AXIS2-761?page=all ]
Chuck Williams updated AXIS2-761:
---------------------------------
Attachment: ConfigurableSimpleHTTPServer.patch
Sorry to be late getting back to this. Been a very busy week -- just got some
time this afternoon and evening.
The attached ConfigurableSimpleHTTPServer.patch provides facilities to fully
configure a SImpleHTTPServer for production use. A new class HttpFactory is
introduced that is
a) Configurable with the most commonly set parameters, like request core
thread pool size, request socket timeout, origin server header, etc., and
b) Specializable to supply factory methods to override all the default
classes instantiated by SimpleHTTPServer. This is important to achieve things
like a bounded request queue.
The parameters are also all settable in axis2.xml as part of the http
TransportIn config.
All axis2 tests pass, plus I've updated my application with a custom
specialization of HttpFactory that is heavily configured and it also works
properly.
I'd like to look this over again tomorrow, and test the axis2.xml feature (not
tested yet), but wanted to post this first version now to get comments on the
approach.
Deepal, Dims suggested you might be the right person to look this over? Also,
Oleg, I'd appreciate any thoughts you have.
The patch is against my local 1.0 repository, but I expect it will apply
against the svn head since simplehttpserver patch applies against 1.0 (with
different offset for the hunks in one file). If there are any issues, I'll
make sure it applies cleanly against svn head tomorrow.
Thanks,
Chuck
> SimpleHttpServer based on Jakarta HttpComponents HttpCore
> ---------------------------------------------------------
>
> Key: AXIS2-761
> URL: http://issues.apache.org/jira/browse/AXIS2-761
> Project: Apache Axis 2.0 (Axis2)
> Type: Improvement
> Components: transports
> Versions: 1.0
> Reporter: Oleg Kalnichevski
> Attachments: ConfigurableSimpleHTTPServer.patch,
> jakarta-httpcore-4.0-20060521.jar, simplehttpserver.patch
>
> The following patch replaces the SimpleHttpServer implementation based on the
> testing framework of Commons HttpClient 3.x with a one based on Jakarta
> HttpComponents HttpCore. Compiled against Axis2 trunk and HttpCore trunk
> * Removes all references to Commons HttpClient classes
> * Enables streaming of schema definitions and similar content
> * Improves content buffering of SOAP response
> * Improves handling of fault conditions and exception handling
> * Fixes a number of NPEs in AxisEngine
> * Improves performance and reliability of the HTTP transport
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]