You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Fred Preston (JIRA)" <ax...@ws.apache.org> on 2006/04/05 16:53:48 UTC

[jira] Commented: (AXISCPP-529) Termination happens before Axis::terminate

    [ http://issues.apache.org/jira/browse/AXISCPP-529?page=comments#action_12373376 ] 

Fred Preston commented on AXISCPP-529:
--------------------------------------

The test appears to be running successfully now.  The application is waiting for all threads to complete before deleting the threads.  It might be worth expanding the test to stagger the launching of new threads to see if multiple calls to Axis::initialize also has any effect...

> Termination happens before Axis::terminate
> ------------------------------------------
>
>          Key: AXISCPP-529
>          URL: http://issues.apache.org/jira/browse/AXISCPP-529
>      Project: Axis-C++
>         Type: Bug

>   Components: Client - Engine
>     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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira