You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2003/04/19 22:42:51 UTC

cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_config_file.c

costin      2003/04/19 13:42:51

  Modified:    jk/native2/common jk_config_file.c
  Log:
  The config file is not required and not used in JNI mode, don't report it as error
  
  Revision  Changes    Path
  1.10      +3 -2      jakarta-tomcat-connectors/jk/native2/common/jk_config_file.c
  
  Index: jk_config_file.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_config_file.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- jk_config_file.c	2 Mar 2003 20:46:33 -0000	1.9
  +++ jk_config_file.c	19 Apr 2003 20:42:51 -0000	1.10
  @@ -276,9 +276,10 @@
   
       rc=stat(cfg->file, &statbuf);
       if (rc == -1) {
  -        env->l->jkLog(env, env->l, JK_LOG_ERROR,
  +        /* Don't report it as an error - it's a common case*/
  +        env->l->jkLog(env, env->l, JK_LOG_INFO,
                         "config.update(): Can't find config file %s\n", cfg->file );
  -        return JK_ERR;
  +        return JK_OK;
       }
       
       if( !firstTime && statbuf.st_mtime < cfg->mtime ) {
  
  
  

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