You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by aj...@apache.org on 2006/09/20 21:20:31 UTC

svn commit: r448306 - /incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp

Author: ajborley
Date: Wed Sep 20 12:20:30 2006
New Revision: 448306

URL: http://svn.apache.org/viewvc?view=rev&rev=448306
Log:
Commented out call to free Axis2C service client due to crash when invoking a composite with both an Axis2C ws.binding service and reference. This is documented in TUSCANY-536 and AXIS2C-209

Modified:
    incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp

Modified: incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp?view=diff&rev=448306&r1=448305&r2=448306
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp (original)
+++ incubator/tuscany/cpp/sca/runtime/extensions/ws/reference/axis2c/src/tuscany/sca/ws/Axis2Client.cpp Wed Sep 20 12:20:30 2006
@@ -233,11 +233,14 @@
                     throw SystemConfigurationException("Axis2Client: Invoke failed");
                 }
                 
-                if (svc_client)
-                {
-                    AXIS2_SVC_CLIENT_FREE(svc_client, env);
-                    svc_client = NULL;
-                } 
+                LOGINFO(2, "Warning: Have not freed Axis2C service client memory due to Jira AXIS2C-209");
+                // Uncommenting this code causes crash when invoking a composite with both Axis2C ws.binding 
+                // service and reference. See Jiras TUSCANY-536 and AXIS2C-209
+                //if (svc_client)
+                //{
+                //    AXIS2_SVC_CLIENT_FREE(svc_client, env);
+                //    svc_client = NULL;
+                //} 
                 
                 LOGEXIT(1, "Axis2Client::invoke");
             }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org