tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans ServerLifecycleListener.java
Date Tue, 10 Dec 2002 18:49:06 GMT
remm        2002/12/10 10:49:06

  Modified:    catalina/src/share/org/apache/catalina/mbeans
                        ServerLifecycleListener.java
  Log:
  - Fix incorrect servlet context initialization if the admin webapp recieves a
    stop/start.
  
  Revision  Changes    Path
  1.5       +8 -5      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/ServerLifecycleListener.java
  
  Index: ServerLifecycleListener.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/ServerLifecycleListener.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ServerLifecycleListener.java	14 Nov 2002 14:24:06 -0000	1.4
  +++ ServerLifecycleListener.java	10 Dec 2002 18:49:06 -0000	1.5
  @@ -247,7 +247,10 @@
               // undocumented in MX4J, and reports exist in the MX4J bug DB that
               // this doesn't work
   
  -        } else if (Context.RELOAD_EVENT.equals(event.getType())) {
  +        }
  +
  +        if ((Context.RELOAD_EVENT.equals(event.getType()))
  +            || (Lifecycle.START_EVENT.equals(event.getType()))) {
   
               // Give context a new handle to the MBean server if the
               // context has been reloaded since reloading causes the
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message