axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/transport/http AxisServlet.java
Date Mon, 10 Jan 2005 20:24:23 GMT
gawor       2005/01/10 12:24:23

  Modified:    java/src/org/apache/axis/transport/http AxisServlet.java
  Log:
  added a call to deassociate the last call object from the current thread so that jvm can
collect this object sooner
  
  Revision  Changes    Path
  1.186     +5 -1      ws-axis/java/src/org/apache/axis/transport/http/AxisServlet.java
  
  Index: AxisServlet.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v
  retrieving revision 1.185
  retrieving revision 1.186
  diff -u -r1.185 -r1.186
  --- AxisServlet.java	24 Dec 2004 05:56:19 -0000	1.185
  +++ AxisServlet.java	10 Jan 2005 20:24:22 -0000	1.186
  @@ -44,6 +44,7 @@
   import org.apache.axis.Message;
   import org.apache.axis.MessageContext;
   import org.apache.axis.SimpleTargetedChain;
  +import org.apache.axis.client.Service;
   import org.apache.axis.management.ServiceAdmin;
   import org.apache.axis.components.logger.LogFactory;
   import org.apache.axis.description.OperationDesc;
  @@ -768,7 +769,10 @@
               // No content, so just indicate accepted
               res.setStatus(202);
           }
  -
  +        
  +        // reset last Call object associated with the current thread
  +        Service.clearCall();
  +        
           if (isDebug) {
               log.debug("Response sent.");
               log.debug("Exit: doPost()");
  
  
  

Mime
View raw message