[ http://issues.apache.org/jira/browse/AXIS-895?page=all ]
Mike Moran updated AXIS-895:
----------------------------
Attachment: CommonsHTTPSender.java.from1_2-RC3.patch
This is patch which fixes this bug in CommonsHTTPSender.java that is in 1.2-RC3
The patch was generated as follows:
1. Copied version of CommonsHTTPSender.java that appears in 1.2-RC3 of
Apache Axis to file CommonsHTTPSender.java.modded
2. Found version 1.18 of CommonsHTTPSender.java (at
http://cvs.apache.org/viewcvs.cgi/*checkout*/ws-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java?rev=1.18)
3. Found patch,
http://issues.apache.org/jira/secure/attachment/11932/CommonsHTTPSender.java.patch,
that appears on bug http://issues.apache.org/jira/browse/AXIS-895,
4. Used patch tool to apply patch to CommonsHTTPSender.java:
patch CommonsHTTPSender.java CommonsHTTPSender.java.patch
5. Replaced sections of CommonsHTTPSender.java.modded related to
cookies with code from patched CommonsHTTPSender.java
6. Did diff of CommonsHTTPSender.java.modded and version of
CommonsHTTPSender.java in 1.2-RC3
(the patch is this diff)
> Axis doesn't maintain more than one cookie with http
> ----------------------------------------------------
>
> Key: AXIS-895
> URL: http://issues.apache.org/jira/browse/AXIS-895
> Project: Axis
> Type: Bug
> Components: Basic Architecture
> Versions: 1.0-rc2
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: Daniel Desmeules
> Assignee: Axis Developers Mailing List
> Attachments: CommonsHTTPSender.java.from1_2-RC3.patch,
> CommonsHTTPSender.java.patch, HTTPSender.java.patch
>
> I started testing out deployment with a load balancer (F5) which adds its own
> cookie to the http requests. There is also the tomcat cookie (JSESSIONID)
> added
> by the server. When I send the next request from the axis client, only the
> last
> cookie is sent.
> Output from tcpmon:
> Response from first request:
> HTTP/1.1 200 OK
> Set-Cookie: BIGipServerEngCTI=2365653770.49695.0000; expires=Tue, 27-May-2003
> 17:54:17 GMT; path=/
> Set-Cookie: JSESSIONID=ZL9dl3tfxkRAzPtdfEVJlQ**.tomcat1; Path=/axis
> Content-Type: text/xml; charset=utf-8
> Date: Tue, 27 May 2003 17:14:17 GMT
> Server: Apache Coyote/1.0
> Connection: close
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <ns1:newSessionResponse
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns1="urn:NuanceCTI"/>
> </soapenv:Body>
> </soapenv:Envelope>
> Next client request with maintainSession set to true:
> POST /axis/services/NuanceCTI HTTP/1.0
> Content-Type: text/xml; charset=utf-8
> Accept: application/soap+xml, application/dime, multipart/related, text/*
> User-Agent: Axis/1.1
> Host: 10.3.0.22
> Cache-Control: no-cache
> Pragma: no-cache
> SOAPAction: ""
> Content-Length: 1515
> Cookie: JSESSIONID=ZL9dl3tfxkRAzPtdfEVJlQ**.tomcat1
> ....
> I will try to fix it here since I need it to work soon and send the fix back
> (If I find how to do that)
--
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