tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: Problem with apj13/jk_mod and multiple cookies!
Date Thu, 18 Jan 2001 11:41:54 GMT
Could you check with the latest source from CVS.
It seems to me that it was resolved by Dan just after
the release of 3.2.1.


"Il est dangereux de concevoir le monde partir de son bureau."
-- John Le Car  

>-----Original Message-----
>From: Jason Pell [mailto:Jason.Pell@dssonline.com.au]
>Sent: Thursday, January 18, 2001 8:11 AM
>To: tomcat-dev@jakarta.apache.org; tomcat-user@jakarta.apache.org
>Subject: Problem with apj13/jk_mod and multiple cookies!
>
>
>Hi,
>
>I have been having heaps of problems with multiple cookies not 
>being set
>with tomcat.
>
>I have managed to track the problem down, but do not have enough
>understanding of
>the APJ13/mod_jk C source to fix.
>
>First of all multiple cookies work when I access tomcat directly
>(bypassing apache), but then
>as I have stated previously they all fail to be set, bar the first one.
>
>This fragment of  jakarta-tomcat-3.2-src/src/native/jk/jk_apj13.c
>
>} else {
>                    d->header_names[i] = (char *)jk_b_get_string(msg);
>                    if(!d->header_names[i]) {
>                        jk_log(l, JK_LOG_ERROR,
>                               "Error ajp13_unmarshal_response - Null
>header name\n");
>
>                        return JK_FALSE;
>                    }
>                }
>
>                d->header_values[i] = (char *)jk_b_get_string(msg);
>                if(!d->header_values[i]) {
>                    jk_log(l, JK_LOG_ERROR,
>                           "Error ajp13_unmarshal_response - 
>Null header
>value\n");
>
>is where the headers are processed, and jk_b_get_string(msg); is
>returning "ERROR" for
>all but my first cookie, as demonstrated by the log I obtained.
>Log fragment from mod_jk.log
>---------------------------------------------------------------
>-----------------------------
>
>[jk_ajp13.c (576)]: ajp13_unmarshal_response: Header[1] [Set-Cookie] =
>[cookie1=hello;Domain=kuru.its.deakin.edu.au;Path=/connect/se
>rvlet]
>[jk_ajp13.c (576)]: ajp13_unmarshal_response: Header[2] 
>[ERROR] =[ERROR]
>
>[jk_ajp13.c (576)]: ajp13_unmarshal_response: Header[3] 
>[ERROR] =[ERROR]
>
>[jk_ajp13.c (576)]: ajp13_unmarshal_response: Header[4] 
>[ERROR] =[ERROR]
>
>[jk_ajp13.c (576)]: ajp13_unmarshal_response: Header[5] 
>[ERROR] =[ERROR]
>
>[jk_ajp13.c (576)]: ajp13_unmarshal_response: Header[6] 
>[ERROR] =[ERROR]
>
>---------------------------------------------------------------
>-----------------------------
>
>Please, Please, Please help me I do not know what to do.  I am 
>desperate
>now!!!
>
>Thankyou
>Jason Pell
>
>--
>Jason Pell
>Senior Analyst/Programmer - Web Developer
>Callista Software Services Pty Ltd
>12 Gheringhap St, Geelong Victoria 3220 Australia
>Phone: 03 5227 8858 International: +61 3 5227 8858
>Fax: 03 5227 8907 International: +61 3 5227 8907
>E-mail Jason.Pell@dssonline.com.au
>http://www.dssonline.com.au
>Customer Support Hotline: 1800 620 497
>
>"Callista - the brightest solution in university management"
>
>---------------------------------------------------------------
>Important Notice: The contents of this email transmission,
>including attachments, may be privileged and confidential.
>Any unauthorised use of the contents is expressly prohibited.
>If you have received this transmission in error, please advise
>the sender by return email or telephone immediately and
>destroy all versions.
>---------------------------------------------------------------
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, email: tomcat-user-help@jakarta.apache.org
>

Mime
View raw message