axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidills...@apache.org
Subject svn commit: r508014 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
Date Thu, 15 Feb 2007 17:05:10 GMT
Author: davidillsley
Date: Thu Feb 15 09:05:10 2007
New Revision: 508014

URL: http://svn.apache.org/viewvc?view=rev&rev=508014
Log:
Prevent memory leak by causing the op context to be properly cleaned up

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java?view=diff&rev=508014&r1=508013&r2=508014
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AddressingBasedDispatcher.java
Thu Feb 15 09:05:10 2007
@@ -144,14 +144,12 @@
                                 .getOperationContext(msgctx.getRelatesTo().getValue());
 
                 if (operationContext != null) {
-                    operationContext.addMessageContext(msgctx);
                     msgctx.setAxisOperation(operationContext.getAxisOperation());
                     msgctx.setOperationContext(operationContext);
                     msgctx.setServiceContext((ServiceContext) operationContext.getParent());
                     msgctx.setAxisService(
                             ((ServiceContext) operationContext.getParent()).getAxisService());
-                    //InstanceDispatcher do this again , so let it go
-                    //msgctx.getAxisOperation().registerOperationContext(msgctx, operationContext);
+                    msgctx.getAxisOperation().registerMessageContext(msgctx, operationContext);
                     msgctx.setServiceGroupContextId(
                             ((ServiceGroupContext) msgctx.getServiceContext().getParent()).getId());
                 }



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


Mime
View raw message