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-connectors/coyote/src/java/org/apache/coyote/tomcat4 CoyoteAdapter.java CoyoteConnector2.java
Date Sat, 06 Apr 2002 16:53:04 GMT
remm        02/04/06 08:53:04

  Modified:    coyote/src/java/org/apache/coyote/tomcat4 CoyoteAdapter.java
                        CoyoteConnector2.java
  Log:
  - Set the port attribute.
  - Use the same note index as the TC 3 adapter to store the Catalina request/response.
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteAdapter.java
  
  Index: CoyoteAdapter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteAdapter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CoyoteAdapter.java	6 Apr 2002 12:24:05 -0000	1.1
  +++ CoyoteAdapter.java	6 Apr 2002 16:53:04 -0000	1.2
  @@ -1,6 +1,6 @@
  -/* * $Header: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteAdapter.java,v
1.1 2002/04/06 12:24:05 remm Exp $
  - * $Revision: 1.1 $
  - * $Date: 2002/04/06 12:24:05 $
  +/* * $Header: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteAdapter.java,v
1.2 2002/04/06 16:53:04 remm Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/06 16:53:04 $
    *
    * ====================================================================
    *
  @@ -119,7 +119,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.1 $ $Date: 2002/04/06 12:24:05 $
  + * @version $Revision: 1.2 $ $Date: 2002/04/06 16:53:04 $
    */
   
   final class CoyoteAdapter
  @@ -129,7 +129,7 @@
       // -------------------------------------------------------------- Constants
   
   
  -    public static final int ADAPTER_NOTES = 0;
  +    public static final int ADAPTER_NOTES = 1;
   
   
       // ----------------------------------------------------------- Constructors
  
  
  
  1.2       +6 -5      jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteConnector2.java
  
  Index: CoyoteConnector2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteConnector2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CoyoteConnector2.java	6 Apr 2002 12:24:05 -0000	1.1
  +++ CoyoteConnector2.java	6 Apr 2002 16:53:04 -0000	1.2
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteConnector2.java,v
1.1 2002/04/06 12:24:05 remm Exp $
  - * $Revision: 1.1 $
  - * $Date: 2002/04/06 12:24:05 $
  + * $Header: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteConnector2.java,v
1.2 2002/04/06 16:53:04 remm Exp $
  + * $Revision: 1.2 $
  + * $Date: 2002/04/06 16:53:04 $
    *
    * ====================================================================
    *
  @@ -110,7 +110,7 @@
    *
    * @author Craig R. McClanahan
    * @author Remy Maucherat
  - * @version $Revision: 1.1 $ $Date: 2002/04/06 12:24:05 $
  + * @version $Revision: 1.2 $ $Date: 2002/04/06 16:53:04 $
    */
   
   
  @@ -936,6 +936,7 @@
               Class clazz = Class.forName(protocolHandlerClassName);
               protocolHandler = (ProtocolHandler) clazz.newInstance();
           } catch (Exception e) {
  +            e.printStackTrace();
               throw new LifecycleException
                   (sm.getString
                    ("coyoteProcessor.processorInstantiationFailed", e));
  @@ -943,7 +944,7 @@
           protocolHandler.setAdapter(adapter);
   
           // Set attributes
  -        
  +        protocolHandler.setAttribute("port", "" + port);
   
           try {
               protocolHandler.init();
  
  
  

--
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