Reference count initialize/terminate calls
------------------------------------------
Key: AXISCPP-557
URL: http://issues.apache.org/jira/browse/AXISCPP-557
Project: Axis-C++
Type: Bug
Components: Basic Architecture
Versions: current (nightly)
Reporter: Tim Bartley
Priority: Minor
Attachments: Axis.cpp.patch
To support multiple clients being loaded/unloaded as shared libraries it would
be good to reference count calls to initialize/terminate. Otherwise it is
unsafe for such libraries to call initiaize or terminate at all.
I've attached a patch to Axis.cpp but I haven't tested it (trying to finish a
few things off) - it requires the creation of a new AxisException.h status code
so that if an app calls initialize different values for bServer then an
exception is thrown.
Also modified the code so that it doesn't just exit on wsdd failure which is a
little nasty for apps that are just dynamically loading the shared library.
I haven't tested this change heavily (alright, not at all - I'm running out of
time before my vacation ;-) but I think you get the idea.
--
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