You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by la...@locus.apache.org on 2000/09/13 03:55:28 UTC

cvs commit: jakarta-tomcat/src/etc server.xml

larryi      00/09/12 18:55:28

  Modified:    src/etc  Tag: tomcat_32 server.xml
  Log:
  Moved LoadOnStartupInterceptor to be last so RequestInterceptors initialize
  before it.  Necessary because LoadOnStartupInterceptor uses request
  handling to preload JSP pages.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.29.2.4  +7 -2      jakarta-tomcat/src/etc/server.xml
  
  Index: server.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/server.xml,v
  retrieving revision 1.29.2.3
  retrieving revision 1.29.2.4
  diff -u -r1.29.2.3 -r1.29.2.4
  --- server.xml	2000/08/23 20:23:26	1.29.2.3
  +++ server.xml	2000/09/13 01:55:28	1.29.2.4
  @@ -89,6 +89,9 @@
            but it will cause sessions to be less secure.
         -->
       <ContextManager debug="0" workDir="work" >
  +
  +      <!-- ==================== Interceptors ==================== -->
  +
           <!-- 
            ContextInterceptor className="org.apache.tomcat.context.LogEvents" 
            -->
  @@ -109,8 +112,6 @@
               className="org.apache.tomcat.context.DefaultCMSetter" />
           <ContextInterceptor 
               className="org.apache.tomcat.context.WorkDirInterceptor" />
  -        <ContextInterceptor 
  -            className="org.apache.tomcat.context.LoadOnStartupInterceptor" />
   
           <!-- Request processing -->
           <!-- Session interceptor will extract the session id from cookies and 
  @@ -184,6 +185,10 @@
   	    userRoleTable="user_roles" 
               roleNameCol="role_name" />
           -->
  +
  +        <!-- Loaded last since JSP's that load-on-startup use request handling -->
  +        <ContextInterceptor 
  +            className="org.apache.tomcat.context.LoadOnStartupInterceptor" />
   
         <!-- ==================== Connectors ==================== -->