[ 
http://issues.apache.org/jira/browse/AXIS2-761?page=comments#action_12413597 ] 

Oleg Kalnichevski commented on AXIS2-761:
-----------------------------------------

> Re. (3) I understand the limitation.  Perhaps it should be clarified in the 
> comments, but other than this, 
> do you see a need to change HttpFactory?  

Given your clarifications, I do not

> Does the single-threaded constraint on HttpService also imply that one could 
> not have two different SimpleHTTPServers 
> listening on different ports in the same jvm / class loader?

Not at all. Multiple HttpService instances bound to different HTTP connections 
should be perfectly fine. 

> However, I'm using a bounded request queue to protect against the server 
> getting overwhelmed, but would still 
> want administrative requests to get through, whence the idea for a second 
> SimpleHTTPServer listening on an 
> administrative port.  Does that sound reasonable to you?

This certainly makes things much easier. I believe this is the way to go.

Oleg

> 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.consolidated.patch, 
> 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]

Reply via email to