Alex Yakovlev wrote:
tomcat-dev,

I keep getting the following messages in error_log several times per hour:

mod_jk: Error flushing
[Sun Aug 22 20:09:21 2004] [error] ajp13.service() ajpGetReply recoverable error 3
[Sun Aug 22 20:09:23 2004] [error] ajp13.service() ajpGetReply recoverable error 3
[Sun Aug 22 20:09:23 2004] [error] ajp13.service() Error  forwarding 
ajp13:/opt/tomcat/work/jk2.socket 1 0
[Sun Aug 22 20:09:23 2004] [error] mod_jk2.handler() Error connecting to tomcat 3, 
status 200

on Apache/2.0.49 + mod_jk2/2.0.5-dev + Tomcat/5.0.27 under Linux.

I've found the following lines in JK sources:

native/apache-2.0/mod_jk.c-            /*
native/apache-2.0/mod_jk.c:             * To allow server push. After writing full 
buffers
native/apache-2.0/mod_jk.c-             */
native/apache-2.0/mod_jk.c-#ifndef AS400
native/apache-2.0/mod_jk.c-            if(ap_rflush(p->r) != APR_SUCCESS) {
native/apache-2.0/mod_jk.c-                ap_log_error(APLOG_MARK, APLOG_STARTUP | 
APLOG_NOERRNO, 0,
native/apache-2.0/mod_jk.c-                             NULL, "mod_jk: Error flushing 
\n"  );
native/apache-2.0/mod_jk.c-                return JK_FALSE;
native/apache-2.0/mod_jk.c-            }
native/apache-2.0/mod_jk.c-#endif
--
native2/server/apache13/jk_service_apache13.c-        /*
native2/server/apache13/jk_service_apache13.c:         * To allow server push. After 
writing full buffers
native2/server/apache13/jk_service_apache13.c-         */
native2/server/apache13/jk_service_apache13.c-        ap_bflush(bf);
native2/server/apache13/jk_service_apache13.c-    }
native2/server/apache13/jk_service_apache13.c-    return JK_OK;
--
native2/server/apache2/jk_service_apache2.c-    /*
native2/server/apache2/jk_service_apache2.c:     * To allow server push. After writing 
full buffers
native2/server/apache2/jk_service_apache2.c-     */
native2/server/apache2/jk_service_apache2.c-    if (ap_rflush(rr) != APR_SUCCESS) {
native2/server/apache2/jk_service_apache2.c-        ap_log_error(APLOG_MARK, 
APLOG_STARTUP | APLOG_NOERRNO, 0,
native2/server/apache2/jk_service_apache2.c-                     NULL, "mod_jk: Error 
flushing");
native2/server/apache2/jk_service_apache2.c-        return JK_ERR;
native2/server/apache2/jk_service_apache2.c-    }
native2/server/apache2/jk_service_apache2.c-    return JK_OK;
native2/server/apache2/jk_service_apache2.c-}

and I've got several questions:
1) What does this error message means?
2) Why is it commented out for AS400? (by IBM?)

Nope, by me (not an IBMer). The code was backported from jk.

the ajp refactory and inclusion in HTTP 2.x is on the way and I suggest
you to take a look at future HTTP release which will support it natively.

jk is production ready but it's not the case of jk2.

Regards


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



Reply via email to