You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ba...@apache.org on 2009/11/17 20:38:18 UTC

svn commit: r881455 - /webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java

Author: barrettj
Date: Tue Nov 17 19:38:18 2009
New Revision: 881455

URL: http://svn.apache.org/viewvc?rev=881455&view=rev
Log:
Disable the ServiceClient Auto Operation Cleanup property.  JAXWS will drive the appropriate cleanup based on ServiceDelegate finalization.

Modified:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java?rev=881455&r1=881454&r2=881455&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java (original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java Tue Nov 17 19:38:18 2009
@@ -1207,6 +1207,10 @@
                         }
                     }
                     serviceClient = new ServiceClient(configCtx, axisSvc);
+                    // Disable automatic cleanup to avoid threading issues in Axis2 during the cleanup.  JAXWS will
+                    // drive the cleanup based on ServiceDelegate finalization
+                    serviceClient.getOptions().setProperty(ServiceClient.AUTO_OPERATION_CLEANUP, false);
+
                 }
             }
         } catch (AxisFault e) {