Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 84595 invoked from network); 17 Mar 2005 11:50:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Mar 2005 11:50:26 -0000 Received: (qmail 81295 invoked by uid 500); 17 Mar 2005 11:50:25 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 81137 invoked by uid 500); 17 Mar 2005 11:50:24 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 81111 invoked by uid 99); 17 Mar 2005 11:50:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Mar 2005 03:50:23 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j2HBoKhj011002 for ; Thu, 17 Mar 2005 12:50:20 +0100 Message-ID: <2072951483.1111060220596.JavaMail.jira@ajax.apache.org> Date: Thu, 17 Mar 2005 12:50:20 +0100 (CET) From: "Samisa Abeysinghe (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXISCPP-529) Termination happens before Axis::terminate In-Reply-To: <520816819.1110536816979.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-529?page=comments#action_61104 ] Samisa Abeysinghe commented on AXISCPP-529: ------------------------------------------- CalculatorDoc_TTest is a threaded application. So I am wondering if this is happening due to some thread issues. I tried the same with single threaded AxisBench and the scenario works as expected > Termination happens before Axis::terminate > ------------------------------------------ > > Key: AXISCPP-529 > URL: http://issues.apache.org/jira/browse/AXISCPP-529 > Project: Axis-C++ > Type: Bug > Reporter: Mark Whitlock > > CalculatorDoc_TTest does an Axis::initialize, then runs some services, then does an Axis::terminate(). Because Axis::initialize was used to initialize Axis, Axis should not be terminated until the Axis::terminate is called. But trace is switched off before the Axis::terminate is called. This means that Axis' global variables are being deleted before the Axis::terminate. Assuming that the Stub that initialized Axis is also terminating it, this can lead to problems if that is not the last Stub to be deleted, since subsequent Stubs will fail. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira