You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Philippe Prados (JIRA)" <ax...@ws.apache.org> on 2005/11/07 10:34:19 UTC

[jira] Created: (AXIS-2292) Proposed patch in HTTPSender for SOAP and Cluster

Proposed patch in HTTPSender for SOAP and Cluster
-------------------------------------------------

         Key: AXIS-2292
         URL: http://issues.apache.org/jira/browse/AXIS-2292
     Project: Apache Axis
        Type: Improvement
  Components: Basic Architecture  
    Reporter: Philippe Prados
    Priority: Minor


Hi,

I write an Axis plug-in for update the http client transport. This plug-in add a Load Balancing and Failover with the client. You can find the code and documentation here :

Home: http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis/
Javadoc : http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis/apidocs/index.html
Source : http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis/xref/index.html
Download: http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis//en/downloads.html

With this jar file, the client can retry x times the request or change to another server if some problems are detect.

The plug-in update the MessageContext.TRANS_URL property with the destination IP, and call more than one time the super.invoke(). With this strategy, the "Host:" header is set with the IP and not the hostname.

If the destination server use this header to distinguish different virtual host, this strategy isn't correct. It's rarely the case in a cluster architecture.

The patch I propose, declare a protected method to manipulate the Host value.

Regards.

-- 
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


[jira] Updated: (AXIS-2292) Proposed patch in HTTPSender for SOAP and Cluster

Posted by "Philippe Prados (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2292?page=all ]

Philippe Prados updated AXIS-2292:
----------------------------------

    Attachment: diff.zip

> Proposed patch in HTTPSender for SOAP and Cluster
> -------------------------------------------------
>
>          Key: AXIS-2292
>          URL: http://issues.apache.org/jira/browse/AXIS-2292
>      Project: Apache Axis
>         Type: Improvement
>   Components: Basic Architecture
>     Reporter: Philippe Prados
>     Priority: Minor
>  Attachments: diff.zip
>
> Hi,
> I write an Axis plug-in for update the http client transport. This plug-in add a Load Balancing and Failover with the client. You can find the code and documentation here :
> Home: http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis/
> Javadoc : http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis/apidocs/index.html
> Source : http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis/xref/index.html
> Download: http://www.philippe.prados.name/Langage/Java/Maven/LoadBalancingAxis//en/downloads.html
> With this jar file, the client can retry x times the request or change to another server if some problems are detect.
> The plug-in update the MessageContext.TRANS_URL property with the destination IP, and call more than one time the super.invoke(). With this strategy, the "Host:" header is set with the IP and not the hostname.
> If the destination server use this header to distinguish different virtual host, this strategy isn't correct. It's rarely the case in a cluster architecture.
> The patch I propose, declare a protected method to manipulate the Host value.
> Regards.

-- 
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