May be allways related to apr pool used.
I tried with plog and pconf, same problem.
When adding some logging, I could see that jk_post_config() is called
2 times and as such 2 open_jklog.
init plog=SPP: : :0:0:2 pconf=SPP: : :0:1:2
init plog=SPP: : :0:0:2 pconf=SPP:
More diggins the problem is not with the fputs but before ;(
May be something weird in l or p in :
static int JK_METHOD log_to_file(jk_logger_t *l, int level, const char *what)
{
if (l &&
(l->level <= level || level == JK_LOG_REQUEST_LEVEL) &&
l->logger_private && what) {
2007/3/30, Mladen Turk <[EMAIL PROTECTED]>:
Henri Gomez wrote:
>
> I allready told you that you didn't have to delay the release for i5
> problems and you could go on with it.
>
Sounds fair.
If you came up with the patches, we can bump a next release
that'll fix them. However, since we got that
Henri Gomez wrote:
I allready told you that you didn't have to delay the release for i5
problems and you could go on with it.
Sounds fair.
If you came up with the patches, we can bump a next release
that'll fix them. However, since we got that far I wonder why
the logging is faulty. Can it be
I take back the original code but :
buf[used++] = '\n';
buf[used] = 0;
#ifdef AS400
printf("%s", buf);
#else
l->log(l, level, buf);
#endif
#ifdef NETWARE
free(buf);
#endif
}
It works, so the problem is in l->log(l, level, buf);
ex:
[Fri Mar 30 13:25:17 2
2007/3/30, Mladen Turk <[EMAIL PROTECTED]>:
Henri Gomez wrote:
> It works back when jklog is :
>
> int jk_log(jk_logger_t *l,
> const char *file, int line, const char *funcname, int level,
> const char *fmt, ...)
> {
>int rc = 0;
>
>/* Need to reserve space for newline
Henri Gomez wrote:
It works back when jklog is :
int jk_log(jk_logger_t *l,
const char *file, int line, const char *funcname, int level,
const char *fmt, ...)
{
int rc = 0;
/* Need to reserve space for newline and terminating zero byte. */
static int usable_size = H
It works back when jklog is :
int jk_log(jk_logger_t *l,
const char *file, int line, const char *funcname, int level,
const char *fmt, ...)
{
int rc = 0;
/* Need to reserve space for newline and terminating zero byte. */
static int usable_size = HUGE_BUFFER_SIZE-2;
BTW, with the latest code in trunk, jk didn't works anymore on i5 ;(
0114:631576 D07C22C8BA:005D20 A000 0004 D480060B
25001030 *M...*
0114:631592 D07C22C8BA:005D30 8000 D07C22C8
BA001090 SPP *èà.H¬...*
0114:631608 D07C22C8BA:005D40 D4
HTTP 500 and XML SOAP Fault in body (text/xml).
It works on all platform, except i5 (iSeries)
2007/3/30, Jean-Frederic <[EMAIL PROTECTED]>:
On Thu, 2007-03-29 at 12:57 +0200, Henri Gomez wrote:
> Hi to all,
>
> While using with the 1.2.21-dev on i5 (iSeries) I saw a strange
> problem when doing
On Thu, 2007-03-29 at 12:57 +0200, Henri Gomez wrote:
> Hi to all,
>
> While using with the 1.2.21-dev on i5 (iSeries) I saw a strange
> problem when doing SOAP works.
What is the exception on TC side?
Cheers
Jean-Frederic
>
> In SOAP, a Fault Exception is sent by Tomcat as an HTTP 500 error
Hi to all,
While using with the 1.2.21-dev on i5 (iSeries) I saw a strange
problem when doing SOAP works.
In SOAP, a Fault Exception is sent by Tomcat as an HTTP 500 error (in
header) and the fault code in body.
On Linux and Windows, mod_jk see the header and body :
[Thu Mar 29 12:26:18 2007]
12 matches
Mail list logo