Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 82823 invoked from network); 23 Dec 2008 03:23:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Dec 2008 03:23:10 -0000 Received: (qmail 23830 invoked by uid 500); 23 Dec 2008 03:23:09 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 23819 invoked by uid 500); 23 Dec 2008 03:23:09 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 23810 invoked by uid 99); 23 Dec 2008 03:23:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Dec 2008 19:23:09 -0800 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of uthaiyashankar@gmail.com designates 209.85.200.174 as permitted sender) Received: from [209.85.200.174] (HELO wf-out-1314.google.com) (209.85.200.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Dec 2008 03:22:59 +0000 Received: by wf-out-1314.google.com with SMTP id 25so2367925wfc.28 for ; Mon, 22 Dec 2008 19:22:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=h8mz3buTwg2JY/oO1jNn3V+MdLCnfveMEX8uXWBs9Z4=; b=Eu/2MK7MONEzi8WdPmtjJR6VyCqbFCPBWerydC7RVhjLDQk02twO5OEQ6mHhnE2v0z pbeJL7nm2Ev/Eopf/SFvtaVmZaJBXDc9Jcy/qYAyAJhph4jOYuRdphq+ob4Sa1j1bGy5 ax+cvpUtpS2w8SQ9UfNjgLxyHghxJVeXnDi+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=iClQzCa154sGQkDjg1Z7QTcSLRZDtruHftpRRq5pxhLrd5otK68+VqZ/98eC584Jo5 x7RCBEfEXvYsrnF2SZDvLP3vzuRShLiTs40lQn92HPldwiLYiXoMsDU6lN6mj5Es1AAm pk3wANPSyIAorvlYLt8y7k3bFRnWFJui1oT5c= Received: by 10.142.177.7 with SMTP id z7mr2975207wfe.25.1230002557498; Mon, 22 Dec 2008 19:22:37 -0800 (PST) Received: by 10.143.118.10 with HTTP; Mon, 22 Dec 2008 19:22:37 -0800 (PST) Message-ID: <84cacd920812221922k6bb83eb4y8a9fe4d4e4727c9d@mail.gmail.com> Date: Tue, 23 Dec 2008 08:52:37 +0530 From: Uthaiyashankar Sender: uthaiyashankar@gmail.com To: "Apache AXIS C User List" Subject: Re: axis2c client can't call axis2 java web service twice continuous if MTOM is disabled in axis2 java web service server side In-Reply-To: <55bf406d0812220732g53c90572u3b2c7a2c3dd36316@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57431_10076409.1230002557490" References: <55bf406d0812190311i4d205631h9a888e8eb1fbf530@mail.gmail.com> <84cacd920812211959p759ee238u91e4f775cdf74134@mail.gmail.com> <55bf406d0812220732g53c90572u3b2c7a2c3dd36316@mail.gmail.com> X-Google-Sender-Auth: 276dfa690c0eb359 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_57431_10076409.1230002557490 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Yong, Hi Shankar, > > Thank you very much for your reply. Currently I use axis2/c 1.4 for > windows. I found that axis2c 1.5 can solve that problem, It seems the bug is already fixed. > but axis2c 1.5 has memory leak. Can you create a jira pointing to the memory leaks of Axis2/C 1.5? Did you check whether current svn works for you? Regards, Shankar > > > best wishes > yong > > > On Mon, Dec 22, 2008 at 3:59 AM, Uthaiyashankar wrote: > >> Hi Yong, >> >> Can you send the code and stack trace? Then we can run and see. Which >> version of Axis2/C you are using and whether you are using Linux or Windows? >> >> Regards, >> Shankar >> >> >> On Fri, Dec 19, 2008 at 4:41 PM, donald yang wrote: >> >>> Hi All, >>> >>> Currently I have a problem to call a axis2 java based web service twice >>> continuous from my axis2c web service client when I disabled MTOM in the web >>> service server side. The first call to web service is successful. The second >>> one is failed and caused the web service client application crashed. An >>> exception is thrown, "*The exception unknown software exception occured >>> in the application at location. Click on OK to terminiate the program*". >>> When I used TCP monitor to look at SOAP request and reply. I found that >>> axis2c client has NOT sent SOAP request in the second call. But if I enable >>> MTOM in the web service server side, both call will be successful. >>> >>> If someone knows how to solve the problem, could you please share your >>> solution? Many thanks in advance. And my configurations are as follows: >>> >>> web service client: axis2c 1.4 >>> web service: axis2 java 1.4.1 >>> OS: windows xp sp3 >>> >>> best wishes >>> yong >>> >>> >>> [1] soap request for the first call >>> POST /axis2/services/simple_char.simple_charHttpSoap11Endpoint/ HTTP/1.1 >>> User-Agent: Axis2C/1.4.0 >>> SOAPAction: "urn:char_input_output" >>> Content-Length: 265 >>> Content-Type: text/xml;charset=UTF-8 >>> Host: brad.querix.co.uk:10000 >>> >>> >>> >>> >>> >>> hello >>> >>> >>> >>> >>> [2] soap reply for the first call when MTOM is disable >>> HTTP/1.1 200 OK >>> Server: Apache-Coyote/1.1 >>> Content-Type: text/xml;charset=UTF-8 >>> Transfer-Encoding: chunked >>> Date: Fri, 19 Dec 2008 10:56:35 GMT >>> >>> 11d >>> >>> >>> >>> >>> hello >>> >>> >>> >>> 0 >>> >>> >> >> >> -- >> S.Uthaiyashankar >> Software Architect >> WSO2 Inc. >> http://wso2.com/ - "The Open Source SOA Company" >> >> >> > -- S.Uthaiyashankar Software Architect WSO2 Inc. http://wso2.com/ - "The Open Source SOA Company" ------=_Part_57431_10076409.1230002557490 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Yong,


Hi Shankar,

Thank you very much for your reply. Currently I use axis2/c 1.4 for windows. I found that axis2c 1.5 can solve that problem,

It seems the bug is already fixed.
 
but axis2c 1.5 has memory leak.

Can you create a jira pointing to the memory leaks of Axis2/C 1.5? Did you check whether current svn works for you?



Regards,
Shankar

 


best wishes
yong


On Mon, Dec 22, 2008 at 3:59 AM, Uthaiyashankar <shankar@wso2.com> wrote:
Hi Yong,

Can you send the code and stack trace? Then we can run and see. Which version of Axis2/C you are using and whether you are using Linux or Windows?

Regards,
Shankar


On Fri, Dec 19, 2008 at 4:41 PM, donald yang <donaldyy@googlemail.com> wrote:
Hi All,

Currently I have a problem to call a axis2 java based web service twice continuous from my axis2c web service client when I disabled MTOM in the web service server side. The first call to web service is successful. The second one is failed and caused the web service client application crashed. An exception is thrown, "The exception unknown software exception occured in the application at location. Click on OK to terminiate the program". When I used TCP monitor to look at SOAP request and reply. I found that axis2c client has NOT sent SOAP request in the second call. But if I enable MTOM in the web service server side,  both call will be successful.

If someone knows how to solve the problem, could you please share your solution? Many thanks in advance. And my configurations are as follows:

web service client: axis2c 1.4
web service: axis2 java 1.4.1
OS: windows xp sp3

best wishes
yong


[1] soap request for the first call
POST /axis2/services/simple_char.simple_charHttpSoap11Endpoint/ HTTP/1.1
User-Agent: Axis2C/1.4.0
SOAPAction: "urn:char_input_output"
Content-Length: 265
Content-Type: text/xml;charset=UTF-8
Host: brad.querix.co.uk:10000

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns1:char_input_output xmlns:ns1="http://querix.com">
         <ns1:param0>hello</ns1:param0>
      </ns1:char_input_output>
   </soapenv:Body></soapenv:Envelope>


[2] soap reply for the first call when MTOM is disable
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Fri, 19 Dec 2008 10:56:35 GMT

11d
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Body>
         <ns:char_input_outputResponse xmlns:ns="http://querix.com">
            <ns:return>hello</ns:return>
         </ns:char_input_outputResponse>
      </soapenv:Body>
   </soapenv:Envelope>
0




--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"






--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


------=_Part_57431_10076409.1230002557490--