Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 43308 invoked from network); 4 Sep 2008 11:52:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Sep 2008 11:52:55 -0000 Received: (qmail 60337 invoked by uid 500); 4 Sep 2008 11:52:53 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 60325 invoked by uid 500); 4 Sep 2008 11:52:53 -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 60314 invoked by uid 99); 4 Sep 2008 11:52:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 04:52:53 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarseras@gmail.com designates 74.125.44.152 as permitted sender) Received: from [74.125.44.152] (HELO yx-out-1718.google.com) (74.125.44.152) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2008 11:51:50 +0000 Received: by yx-out-1718.google.com with SMTP id 6so1645425yxn.88 for ; Thu, 04 Sep 2008 04:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=dp/BD0jixUY/NxyP/zpa7SSejJoFQEq8beTDgcXHj24=; b=LAWifUK4JmD7XadiYvTe2erIIMCO7oIABDdzzwvLgSWh8G/EjyrQxqFChm+kUK7Blu Q9IUMLOCA4a177axw28mlHtls5219PXMpjHnbFSvuvKMD8duTqhCsWpGgQbjqAm+8et8 gsEtwnmYc3gBPTIECgxAcvWwrmFirnIG0b5Iw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=LvtfLowYI9jEkp8F6kabXd7xskrpjpZEq1nbmBjRIfBYjGwQY0BE/xSJbuIvv0KFFK i1wTk8mEBFFIiH5JEZyLHC+2a9F8Vztt/mctQF8phouYGr+hknK3thUrRrZ50EQgkcOM OysYEmSAnnHcb9NBG86u/8achGQfV1uIR5LSU= Received: by 10.151.110.14 with SMTP id n14mr14280063ybm.196.1220529140631; Thu, 04 Sep 2008 04:52:20 -0700 (PDT) Received: by 10.151.84.21 with HTTP; Thu, 4 Sep 2008 04:52:20 -0700 (PDT) Message-ID: <508748c80809040452q6659b191j647386497181d35@mail.gmail.com> Date: Thu, 4 Sep 2008 07:52:20 -0400 From: "Andy Karseras" To: "Apache AXIS C User List" Subject: Re: Clean-up and Freeing (and nnexpected close-tags being created) In-Reply-To: <48BF3473.2010809@wso2.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6891_22427006.1220529140638" References: <508748c80809030855p2b81daf9k9c4a3c95956b883b@mail.gmail.com> <48BF3473.2010809@wso2.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6891_22427006.1220529140638 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks for your reply. It seems that the problem occurs even when I create a new service client and payload on each time I resend. Would this be expected ? On Wed, Sep 3, 2008 at 9:05 PM, Samisa Abeysinghe wrote: > I think this occurs because you are violating the ownership rules with OM. > Once the payload is passed in, the engine takes over the ownership of the > node and you are not supposed to do anything with the payload afterwards. > > Thanks, > Samisa... > > Andy Karseras wrote: > >> Hi, >> >> I raised this problem in July and thought that it had been resolved (by >> doing proper clean-up), although it is now re-occurring. >> >> I am seeing a close tag being created when there shouldn't be. >> >> The incorrect message content is as follows... >> >> >> >> ***TempAgent. >> >> >> >> >> I am sending the same message multiple times to the server and the error >> occurs on the third iteration (3rd time the message is sent) so am assuming >> that I am not doing proper clean-up after each message is created and then >> sent. >> >> My questions as follows... >> a) Has anybody seen this before ? >> >> b) Will calling axiom_node_free_tree on nodeA also clean-up nodeB in the >> following example ? >> axiom_node_t *nodeB= axiom_node_get_first_child(nodeA, env); >> >> c) Will a node created to be used in axis2_svc_client_add_header, be >> cleaned-up by axis2_svc_client_free ? >> >> d) Is there any other info I can provide to clarify or help explain the >> problem ? >> >> Many thanks. >> >> >> Andy >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: >> 270.6.15/1649 - Release Date: 9/3/2008 7:15 AM >> >> >> > > > -- > Samisa Abeysinghe Director, Engineering; WSO2 Inc. > > http://www.wso2.com/ - "The Open Source SOA Company" > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > ------=_Part_6891_22427006.1220529140638 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Thanks for your reply.

It seems that the problem occurs even when I create a new service client and payload on each time I resend.  Would this be expected ?



On Wed, Sep 3, 2008 at 9:05 PM, Samisa Abeysinghe <samisa@wso2.com> wrote:
I think this occurs because you are violating the ownership rules with OM. Once the payload is passed in, the engine takes over the ownership of the node and you are not supposed to do anything with the payload afterwards.

Thanks,
Samisa...

Andy Karseras wrote:
Hi,

I raised this problem in July and thought that it had been resolved (by doing proper clean-up), although it is now re-occurring.

I am seeing a close tag being created when there shouldn't be.

The incorrect message content is as follows...

<cwmp:getParameterValues xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
   <ParameterNames>
       *<Name/>**TempAgent.</Name>
   </ParameterNames>
</cwmp:getParameterValues>


I am sending the same message multiple times to the server and the error occurs on the third iteration (3rd time the message is sent) so am assuming that I am not doing proper clean-up after each message is created and then sent.

My questions as follows...
a) Has anybody seen this before ?

b) Will calling axiom_node_free_tree on nodeA also clean-up nodeB in the following example ?
   axiom_node_t *nodeB= axiom_node_get_first_child(nodeA, env);

c) Will a node created to be used in axis2_svc_client_add_header, be cleaned-up by axis2_svc_client_free ?

d) Is there any other info I can provide to clarify or help explain the problem ?

Many thanks.


Andy
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.15/1649 - Release Date: 9/3/2008 7:15 AM

 


--
Samisa Abeysinghe Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


------=_Part_6891_22427006.1220529140638--