tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Gomez" <henri.go...@gmail.com>
Subject Re: More on i5/OS and some modifications needed
Date Tue, 24 Apr 2007 12:37:28 GMT
I'm looking for the exception in jk_log. It happen in ws_write right
now and I wonder what's the life cycle of main_log.

On i5/OS, the init / post are done on the same thread (not the same on Unixes).

How is reset the main_log ?

2007/4/24, Henri Gomez <henri.gomez@gmail.com>:
> checked that assbackwards is 0 on i5/OS
>
> 2007/4/24, Rainer Jung <rainer.jung@kippdata.de>:
> > Hi Henri,
> >
> > > - Another annoying problem is the HTTP 500 error in SOAP mode. It
> > > seems the sent_bodyct flag is not set in Apache 2 side, which is
> > > strange since I got reply from Tomcat (HTTP 500 in HEADER and
> > > SOAPFault in BODY).
> > >
> > > Since the sent_bodyct should be set inside Apache 2.x, it may be
> > > something specific to i5/OS IBM implementation of Apache 2.0. I'm
> > > still looking for informations from Rochester Labs.
> > >
> > > Do you know where the sent_bodyct is set in Apache 2.x, it will be
> > > usefull to diagnose problem with IBMers ?
> >
> > include/httpd.h
> >
> > /** A structure that represents the current request */
> > struct request_rec {
> > ...
> >     /** byte count in stream is for body */
> >     apr_off_t sent_bodyct;
> > ...
> >
> > Initialization in server/protocol.c:
> >
> > Value set to 0 in request_rec *ap_read_request(conn_rec *conn)
> >
> > During request processing the value gets set to 1 in
> > modules/http/http_protocol.c.
> >
> > AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t
> > *f, apr_bucket_brigade *b)
> > ...
> >     if (r->assbackwards) {
> >         r->sent_bodyct = 1;
> >         ap_remove_output_filter(f);
> >         return ap_pass_brigade(f->next, b);
> >     }
> > ...
> > (further equest processing)
> > ...
> >     if (r->header_only) {
> >         apr_brigade_destroy(b);
> >         ctx->headers_sent = 1;
> >         return OK;
> >     }
> >
> >     r->sent_bodyct = 1;   /* Whatever follows is real body stuff... */
> > ...
> >
> > assbackwards is documented as:
> >
> >     /** HTTP/0.9, "simple" request (e.g. GET /foo\n w/no headers) */
> >     int assbackwards;
> >
> > Regards,
> >
> > Rainer
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: dev-help@tomcat.apache.org
> >
> >
>

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


Mime
View raw message