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:57:03 UTC

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

larryi      00/09/12 18:57:03

  Modified:    src/etc  server2.xml 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
  1.7       +7 -2      jakarta-tomcat/src/etc/server2.xml
  
  Index: server2.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/server2.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- server2.xml	2000/09/09 23:07:53	1.6
  +++ server2.xml	2000/09/13 01:57:03	1.7
  @@ -95,6 +95,9 @@
            but it will cause sessions to be less secure.
         -->
       <ContextManager debug="0" workDir="work" >
  +
  +      <!-- ==================== Interceptors ==================== -->
  +
           <!-- 
            ContextInterceptor className="org.apache.tomcat.context.LogEvents" 
            -->
  @@ -129,8 +132,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 
  @@ -216,6 +217,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 ==================== -->
   
  
  
  
  1.42      +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.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- server.xml	2000/09/09 23:07:53	1.41
  +++ server.xml	2000/09/13 01:57:03	1.42
  @@ -95,6 +95,9 @@
            but it will cause sessions to be less secure.
         -->
       <ContextManager debug="0" workDir="work" >
  +
  +      <!-- ==================== Interceptors ==================== -->
  +
           <!-- 
            ContextInterceptor className="org.apache.tomcat.context.LogEvents" 
            -->
  @@ -134,8 +137,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 
  @@ -217,6 +218,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 ==================== -->