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: strange problem on i5
Date Fri, 30 Mar 2007 10:46:15 GMT
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;


return (0);

.....


Arg the old problem reappears ;(

2007/3/30, Henri Gomez <henri.gomez@gmail.com>:
> BTW, with the latest code in trunk, jk didn't works anymore on i5 ;(
>
> 00000114:631576  D07C22C8BA:005D20  A0000000 00000004 D480060B
> 25001030     *........M.......*
> 00000114:631592  D07C22C8BA:005D30  80000000 00000000 D07C22C8
> BA001090 SPP *........èà.H¬...*
> 00000114:631608  D07C22C8BA:005D40  D4C3C800 00000000 00000000
> 00000000     *MCH.............*
> 00000114:631624  D07C22C8BA:005D50  00000000 00000000 00000000
> 00000000     *................*
> 00000114:631640  D07C22C8BA:005D60  D4C3C8F3 F6F0F100 00800000
> 00800000     *MCH3601.........*
> 00000114:631656  D07C22C8BA:005D70  000002C7 24010003 059B0028
> 00000000     *...G............*
> 00000114:631672  D07C22C8BA:005D80  00000000 00001984 58893809
> 10D40D00     *.......d.i...M..*
> 00000114:631688  D07C22C8BA:005D90  A3000000 01D00000 0A5EB05A
> 2F28A398     *t....è...;¢§..tq*
> 00000114:631704  D07C22C8BA:005DA0  00000000 00000000 00000000
> 00000000     *................*
> 00000114:631720  D07C22C8BA:005DB0  00000000 00000000 00000000
> 00000000     *................*
> 00000114:631728 Stack Dump For Current Thread
> 00000114:631728 Stack:  mpmt_pthread.c:request thread exception
> 00000114:631768 Stack:  Library    / Program     Module      Stmt
> Procedure
> 00000114:631784 Stack:  QSYS       / QLESPI      QLECRTTH    20    :
> LE_Create_Thread2__FP12crtth_parm_
> 00000114:631792 Stack:  QSYS       / QP0WPINT    QP0WSPTHR   18    :
> pthread_create_part2
>                                               TRCTCPAPP Output
> 00000114:631808 Stack:  QHTTPSVR   / QZSRAPR     THREAD      2     :
> dummy_worker
> 00000114:631816 Stack:  QHTTPSVR   / QZSRCORE    MPMT_PTHRE  21    :
> request_thread
> 00000114:631824 Stack:  QHTTPSVR   / QZSRCORE    HTTP_ASYNC  6     :
> ap_process_IOCP
> 00000114:631832 Stack:  QHTTPSVR   / QZSRCORE    HTTP_ASYNC  47    :
> asyncIO_wait
> 00000114:631840 Stack:  QHTTPSVR   / QZSRCORE    CONNECTION  5     :
> ap_run_process_connection
> 00000114:631848 Stack:  QHTTPSVR   / QZSRCORE    HTTP_CORE   12    :
> ap_process_http_connection
> 00000114:631856 Stack:  QHTTPSVR   / QZSRCORE    HTTP_REQUE  19    :
> ap_process_request
> 00000114:631864 Stack:  QHTTPSVR   / QZSRCORE    HTTP_CONFI  27    :
> ap_invoke_handler
> 00000114:631872 Stack:  QHTTPSVR   / QZSRCORE    HTTP_CONFI  5     :
> ap_run_handler
> 00000114:631880 Stack:  QHTTPSVR   / MOD_JK1221  MOD_JK      83    :
> jk_handler
> 00000114:631888 Stack:  QHTTPSVR   / MOD_JK1221  JK_AJP_COM  51    :
> ajp_service
> 00000114:631896 Stack:  QHTTPSVR   / MOD_JK1221  JK_AJP_COM  39    :
> ajp_get_reply
> 00000114:631904 Stack:  QHTTPSVR   / MOD_JK1221  JK_AJP_COM  30    :
> ajp_process_callback
> 00000114:631904 Stack:  QHTTPSVR   / MOD_JK1221  MOD_JK      21    :
> ws_write
> 00000114:631912 Stack:  QHTTPSVR   / MOD_JK1221  JK_UTIL     37    :
> jk_log
> 00000114:631920 Stack:  QHTTPSVR   / QZSRCORE    MPMT_PTHRE  11    :
> Request_Thread_Excp_Handler
> 00000114:632480 Stack:  QHTTPSVR   / QZSRCORE    MPMT_PTHRE  18    :
> Common_Thread_Excp_Handler_Code
> 00000114:632488 Stack:  QHTTPSVR   / QZSRAPR     OS400TRACE  1     :
> apr_dstack
> 00000114:632496 Stack:  QSYS       / QP0ZCPA     QP0ZUDBG    3     :
> Qp0zDumpStack
> 00000114:632504 Stack:  QSYS       / QP0ZSCPA    QP0ZSDBG    3     :
> Qp0zSUDumpStack
> 00000114:632512 Stack:  QSYS       / QP0ZSCPA    QP0ZSDBG    24    :
> Qp0zSUDumpTargetStack
> 00000114:632512 Stack:  Completed
>
> Another time in ... jk_log ;-(
>
> I'll try to locate the problem
>
> 2007/3/30, Henri Gomez <henri.gomez@gmail.com>:
> > HTTP 500 and XML SOAP Fault in body (text/xml).
> >
> > It works on all platform, except i5 (iSeries)
> >
> > 2007/3/30, Jean-Frederic <jfclere@gmail.com>:
> > > 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 (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] [7732:8768] [debug] do_shm_open::jk_shm.c
> > > > (284): Shared memory is already open [Thu Mar 29 12:26:18 2007]
> > > > [7732:8768] [debug] jk_child_init::mod_jk.c (2588): Attached
> > > > shm:/var/log/apache2/jk.shm [Thu Mar 29 12:26:18 2007] [7732:8768]
> > > > [debug] jk_child_init::mod_jk.c (2598): Initialized mod_jk/1.2.21-dev
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from
> > > > ajp13 pos=0 len=60 max=8192
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    04 01
> > > > F4 00 19 45 72 72 65 75 72 20 49 6E 74 65  - .....Erreur.Inte
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0010    72 6E
> > > > 65 20 64 65 20 53 65 72 76 6C 65 74 00 00  - rne.de.Servlet..
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0020    01 A0
> > > > 01 00 16 74 65 78 74 2F 78 6D 6C 3B 63 68  - .....text/xml;ch
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0030    61 72
> > > > 73 65 74 3D 75 74 66 2D 38 00 00 00 00 00  - arset=utf-8.....
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_unmarshal_response::jk_ajp_common.c (603): status = 500 [Thu Mar
> > > > 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_unmarshal_response::jk_ajp_common.c (610): Number of headers is =
> > > > 1 [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_unmarshal_response::jk_ajp_common.c (666): Header[0]
> > > > [Content-Type] = [text/xml;charset=utf-8] [Thu Mar 29 12:26:26 2007]
> > > > [7690:8768] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c
> > > > (1043): received from ajp13 pos=0 len=456 max=8192
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    03 01
> > > > C4 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E  - ...<?xml.version
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0010    3D 22
> > > > 31 2E 30 22 20 3F 3E 3C 53 3A 45 6E 76 65  - ="1.0".?><S:Enve
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0020    6C 6F
> > > > 70 65 20 78 6D 6C 6E 73 3A 53 3D 22 68 74  - lope.xmlns:S="ht
> > > >
> > > > ...
> > > >
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 01c0    76 65
> > > > 6C 6F 70 65 3E 00 00 00 00 00 00 00 00 00  - velope>.........
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug] ws_write::mod_jk.c
> > > > (452): written 452 out of 452
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from
> > > > ajp13 pos=0 len=4 max=8192
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    03 00
> > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from
> > > > ajp13 pos=0 len=4 max=8192
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    03 00
> > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from
> > > > ajp13 pos=0 len=2 max=8192
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    05 01
> > > > 00 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_process_callback::jk_ajp_common.c (1505): AJP13 protocol: Reuse is
> > > > OK
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug]
> > > > ajp_done::jk_ajp_common.c (2272): recycling connection pool slot=0 for
> > > > worker w850
> > > > [Thu Mar 29 12:26:26 2007] [7690:8768] [debug] jk_handler::mod_jk.c
> > > > (2181): Service finished with status=500 for worker=w850
> > > >
> > > >
> > > > on i5 it's very different :
> > > >
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (603):
> > > > status = 500
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (610):
> > > > Number of headers is = 1
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (666):
> > > > Header[0] [Content-Type] = [text/xml;charset=utf-8]
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > received from ajp13 pos=0 len=456 max=8192
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0000    03 01 C4 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E  -
> > > >  ...  Ì_%.ÎÁÊËÑ?>
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0010    3D 22 31 2E 30 22 20 3F 3E 3C 53 3A 45 6E 76 65  -
> > > >        .   ë á>ÎÁ
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0020    6C 6F 70 65 20 78 6D 6C 6E 73 3A 53 3D 22 68 74  -
> > > >  %?øÁ.Ì_%>Ë ë  ÇÈ
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0030    74 70 3A 2F 2F 73 63 68 65 6D 61 73 2E 78 6D 6C  -
> > > >  Èø ËÄÇÁ_/Ë Ì_%
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0040    73 6F 61 70 2E 6F 72 67 2F 73 6F 61 70 2F 65 6E  -
> > > >  Ë?/ø ?ÊÅË?/øÁ>
> > > >
> > > > ...
> > > >
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 01c0    76 65 6C 6F 70 65 3E 00 00 00 00 00 00 00 00 00  -
> > > >  ÎÁ%?øÁ .........
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > received from ajp13 pos=0 len=4 max=8192
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0000    03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  -
> > > >  ................
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > received from ajp13 pos=0 len=4 max=8192
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0000    03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  -
> > > >  ................
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > received from ajp13 pos=0 len=2 max=8192
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1043):
> > > > 0000    05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  -
> > > >  ................
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (1505):
> > > > AJP13 protocol: Reuse is OK
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [debug] jk_ajp_common.c (2272):
> > > > recycling connection pool slot=0 for worker xylos-soa-850
> > > > [Thu Mar 29 12:29:26 2007] [0055:0258] [info]  mod_jk.c (2175): No
> > > > body with status=500 for worker=xylos-soa-850
> > > > I'm looking for what could be the difference on jk code between i5
> > > > (#ifdef AS400) and others platforms.
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> > >
> > >
> >
>

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


Mime
View raw message