mturk       2005/05/15 09:25:38

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  Differentiate logging when trying next connection.
  
  Revision  Changes    Path
  1.114     +8 -5      
jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c
  
  Index: jk_ajp_common.c
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_ajp_common.c,v
  retrieving revision 1.113
  retrieving revision 1.114
  diff -u -r1.113 -r1.114
  --- jk_ajp_common.c   15 May 2005 13:40:02 -0000      1.113
  +++ jk_ajp_common.c   15 May 2005 16:25:38 -0000      1.114
  @@ -1201,12 +1201,15 @@
            * loop. */
           if (err ||
               ((rc = ajp_connection_tcp_send_message(ae, op->request, l)) != 
JK_TRUE)) {
  -            jk_log(l, JK_LOG_INFO,
  -                   "Error sending request. Will try another pooled 
connection");
  -            if (rc != JK_FATAL_ERROR)
  +            if (rc != JK_FATAL_ERROR) {
  +                jk_log(l, JK_LOG_INFO,
  +                       "Error sending request. Will try another pooled 
connection");
                   ajp_next_connection(ae, l);
  +            }
               else {
                   op->recoverable = JK_FALSE;
  +                jk_log(l, JK_LOG_INFO,
  +                       "Error sending request. Unrecoverable operation");
                   JK_TRACE_EXIT(l);
                   return JK_FALSE;
               }
  @@ -1498,7 +1501,7 @@
               /* we just can't recover, unset recover flag */
               if (headeratclient == JK_FALSE) {
                   jk_log(l, JK_LOG_ERROR,
  -                       "Tomcat is down or network problems. "
  +                       "Tomcat is down or refused connection. "
                          "No response has been sent to the client (yet)");
                   /*
                    * communication with tomcat has been interrupted BEFORE
  
  
  

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

Reply via email to