nacho       01/02/25 10:00:34

  Modified:    src/share/org/apache/tomcat/modules/server Ajp12.java
  Log:
  No shutdown implicitly call stops first , no the other way..
  
  Revision  Changes    Path
  1.14      +4 -5      
jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp12.java
  
  Index: Ajp12.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/server/Ajp12.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Ajp12.java        2001/02/17 07:10:16     1.13
  +++ Ajp12.java        2001/02/25 18:00:34     1.14
  @@ -268,16 +268,15 @@
                                        return;
                                    }
                                }
  -                             req.getContextManager().stop();
  -                             req.getContextManager().log("Exiting" );
  -                             req.getContextManager().getLog().getLogger().
  -                                 flush();
  +                                ContextManager cm=req.getContextManager();
  +                             cm.shutdown();
  +                             cm.log("Exiting" );
  +                             cm.getLog().getLogger().flush();
                                // same behavior as in past, because it seems
                                // that stopping everything doesn't work -
                                // need to figure
                                // out what happens with the threads ( XXX )
                                System.exit(0);
  -
                                shutdown=true;
                                return;
                            }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to