You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2004/03/01 12:21:03 UTC

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_ajp_common.c

hgomez      2004/03/01 03:21:03

  Modified:    jk/native/common jk_ajp_common.c
  Log:
  Add more informations on port we're using...
  
  Revision  Changes    Path
  1.53      +5 -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.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- jk_ajp_common.c	25 Feb 2004 03:33:06 -0000	1.52
  +++ jk_ajp_common.c	1 Mar 2004 11:21:03 -0000	1.53
  @@ -699,8 +699,8 @@
           if(ae->sd >= 0) {
               jk_log(l, JK_LOG_DEBUG,
                      "In jk_endpoint_t::ajp_connect_to_endpoint, "
  -                   "connected sd = %d\n",
  -                   ae->sd);
  +                   "connected sd = %d, port = %d\n",
  +                   ae->sd, (int)ae->worker->worker_inet_addr.sin_port);
   
                /* set last_access */
                ae->last_access = time(NULL);
  @@ -718,8 +718,8 @@
   
       jk_log(l, JK_LOG_INFO,
              "Error connecting to tomcat. Tomcat is probably not started or is "
  -           "listening on the wrong port. Failed errno = %d\n",
  -           errno);
  +           "listening on the wrong port (%d). Failed errno = %d\n",
  +           (int)ae->worker->worker_inet_addr.sin_port, errno);
       return JK_FALSE;
   }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org