axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http AxisServletBase.java
Date Wed, 14 Aug 2002 06:18:14 GMT
stevel      2002/08/13 23:18:14

  Modified:    java/src/org/apache/axis/transport/http AxisServletBase.java
  Log:
  add a double check for nullity of engine as the sync block will have killed the ref if it
blocked.
  
  Revision  Changes    Path
  1.10      +7 -5      xml-axis/java/src/org/apache/axis/transport/http/AxisServletBase.java
  
  Index: AxisServletBase.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServletBase.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AxisServletBase.java	14 Aug 2002 06:13:36 -0000	1.9
  +++ AxisServletBase.java	14 Aug 2002 06:18:13 -0000	1.10
  @@ -152,11 +152,13 @@
           if (axisServer != null) {
               //then we lock it
               synchronized(axisServer) {
  -                //clean it up
  -                axisServer.cleanup();
  -                //and erase our history of it
  -                axisServer =null;
  -                storeEngine(getServletContext(),null);
  +                if (axisServer != null) {
  +                    //clean it up
  +                    axisServer.cleanup();
  +                    //and erase our history of it
  +                    axisServer =null;
  +                    storeEngine(getServletContext(),null);
  +                }
               }
           }
       }
  
  
  

Mime
View raw message