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 2005/01/07 10:55:33 UTC

cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

hgomez      2005/01/07 01:55:33

  Modified:    jk/native/apache-2.0 mod_jk.c
  Log:
  the iSeries version of Apache 2 didn't support yet MPM ;(
  
  Revision  Changes    Path
  1.114     +6 -1      jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c
  
  Index: mod_jk.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/apache-2.0/mod_jk.c,v
  retrieving revision 1.113
  retrieving revision 1.114
  diff -u -r1.113 -r1.114
  --- mod_jk.c	17 Dec 2004 18:08:52 -0000	1.113
  +++ mod_jk.c	7 Jan 2005 09:55:33 -0000	1.114
  @@ -38,7 +38,10 @@
   #include "http_main.h"
   #include "http_log.h"
   #include "util_script.h"
  +
  +#ifndef AS400
   #include "ap_mpm.h"
  +#endif
   
   #ifdef AS400
   #include "ap_charset.h"
  @@ -2193,7 +2196,9 @@
   
       /* Set default connection cache size for worker mpm */
   #if APR_HAS_THREADS
  +#ifndef AS400
       ap_mpm_query(AP_MPMQ_MAX_THREADS, &mpm_threads);
  +#endif    
   #endif
       if (mpm_threads > 0)
           jk_set_worker_def_cache_size(mpm_threads);
  
  
  

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


Re: cvs commit: jakarta-tomcat-connectors/jk/native/apache-2.0 mod_jk.c

Posted by Mladen Turk <mt...@apache.org>.
hgomez@apache.org wrote:
>   +
>   +#ifndef AS400
>    #include "ap_mpm.h"
>   +#endif
>

That's wrong IMO.

Look at the Apache modules:
mod_mem_cache
mod_cgid
mod_cgid
mod_info
mod_status
mod_ssl

They all have '#include "ap_mpm.h"'

So, I suppose that's something wrong with your
apache build not the way how this file should
be included.
If the file is not present inside apache/include
distribution, then it's apache build error,
that we shoudn't fixed like you did thought.

Mladen.

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