billbarker    2002/05/31 22:14:02

  Modified:    coyote/src/java/org/apache/coyote/tomcat3
                        CoyoteInterceptor2.java
  Log:
  Support for two-part init/start API.
  
  Remy's change wasn't as transparent as advertised.  In particular, the RC2 release 
doesn't work at all.  This should be OK, even if it calls socket methods earlier than 
in 3.3.1.  Feel to -1 if I'm breaking Jk2.
  
  Revision  Changes    Path
  1.11      +2 -1      
jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor2.java
  
  Index: CoyoteInterceptor2.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat3/CoyoteInterceptor2.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- CoyoteInterceptor2.java   13 Apr 2002 06:18:18 -0000      1.10
  +++ CoyoteInterceptor2.java   1 Jun 2002 05:14:02 -0000       1.11
  @@ -164,6 +164,7 @@
                   else
                       IntrospectionUtils.setAttribute( proto, k, o );
               }
  +         proto.init();
           } catch( Exception ex ) {
               throw new TomcatException( "Error setting protocol properties ", ex );
           }
  @@ -173,7 +174,7 @@
        */
       public void engineStart(ContextManager cm) throws TomcatException {
        try {
  -            proto.init();
  +            proto.start();
        } catch( Exception ex ) {
               ex.printStackTrace();
            throw new TomcatException( ex );
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to