axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-166) Async calls in parallel to several web service randomly fail
Date Thu, 30 Mar 2006 19:44:27 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-166?page=all ]
     
Davanum Srinivas resolved AXIS2-166:
------------------------------------

    Resolution: Fixed

closing as fixed. please try 0.95 and let us know if u want us to reopen the bug.

thanks,
dims

> Async calls in parallel to several web service randomly fail
> ------------------------------------------------------------
>
>          Key: AXIS2-166
>          URL: http://issues.apache.org/jira/browse/AXIS2-166
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: client-api
>     Versions: 0.91
>  Environment: Max OS X 10.3.8
> java version "1.4.2_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.4)
> Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
> Apache Tomcat 5.5.7
>     Reporter: Diego
>  Attachments: upload.tar.gz
>
> I've implemented a client and server using Axis2.  I've deployed 5 identical servers
on the same machine.  The client sends 5 asynchronous service requests, one for each server.
 The problem is that randomly some requests fail.  I've sniffed the traffic with ethereal
and it seems that those problems arise because the client puts two or more post requests in
the same http packet or at least sends two or more http packets from the same port.  Following
is the exact ethereal capture.
> Thanks a lot!
> Diego
>   POST /axis2/services/bank2 HTTP/1.1
>   POST /axis2/services/bank1 HTTP/1.1
>   User-Agent: Axis/2.0
>   SOAPAction: accumulate
>   Connection: Keep-Alive
>   Host: localhost:8080
>   Content-Length: 459
>   Content-Type: text/xml; charset=utf-8
>   <?xml version='1.0' encoding='utf-8'?>
>   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Header>
>   </soapenv:Header>
>   <soapenv:Body>
>   <accumulate xmlns="http://bank.org/ws/model">
>   <operands>
>   <arrayItem>1</arrayItem>
>   <arrayItem>2</arrayItem>
>   <arrayItem>3</arrayItem>
>   <arrayItem>4</arrayItem>
>   <arrayItem>2</arrayItem>
>   </operands>
>   </accumulate>
>   </soapenv:Body>
>   </soapenv:Envelope>
>   User-Agent: Axis/2.0
>   SOAPAction: accumulate
>   Connection: Keep-Alive
>   Host: localhost:8080
>   Content-Length: 459
>   Content-Type: text/xml; charset=utf-8
>   <?xml version='1.0' encoding='utf-8'?>
>   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Header>
>   </soapenv:Header>
>   <soapenv:Body>
>   <accumulate xmlns="http://bank.org/ws/model">
>   <operands>
>   <arrayItem>1</arrayItem>
>   <arrayItem>2</arrayItem>
>   <arrayItem>3</arrayItem>
>   <arrayItem>4</arrayItem>
>   <arrayItem>1</arrayItem>
>   </operands>
>   </accumulate>
>   </soapenv:Body>
>   </soapenv:Envelope>
>   HTTP/1.1 200 OK
>   Server: Apache-Coyote/1.1
>   Set-Cookie: JSESSIONID=92DF014F64480ECA312C9D26FB3C6409; Path=/axis2
>   Content-Type: text/xml;charset=utf-8
>   Transfer-Encoding: chunked
>   Date: Sat, 20 Aug 2005 17:42:51 GMT
>   1c4
>   <?xml version='1.0' encoding='utf-8'?>
>   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>   <soapenv:Header>
>   <wsa:From xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
>   <wsa:Address>http://localhost:8080/axis2/services/bank2</wsa:Address>
>   </wsa:From>
>   </soapenv:Header>
>   <soapenv:Body>
>   <accumulateResponse xmlns="http://bank.org/ws/model">
>   <response-code>1</response-code>
>   </accumulateResponse>
>   </soapenv:Body>
>   </soapenv:Envelope>
>   0

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


Mime
View raw message