RE: [enhydra] Chunked messages with enhydra6.4
"cristiano cunha" <[email protected]> Fri, 26 Aug 2005 10:21:40 +0100
| Newsgroups | gmane.comp.java.enhydra.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1125048085-3007-118 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009D_01C5AA27.F36B0210" This is a multi-part message in MIME format. ------=_NextPart_000_009D_01C5AA27.F36B0210 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, I use org.apache.commons.httpclient.ChunkedInputStream to read the chunked input stream. We use mod_jk 1.2.14 connector. Thanks in advance for your help. Cristiano. _____ From: Radivoj Milin [mailto:[email protected]] Sent: sexta-feira, 26 de Agosto de 2005 9:28 To: [email protected] Subject: Re: [enhydra] Chunked messages with enhydra6.4 Hi, We need more information, what type of connector are you using (tomcat http, director or ajp connector) ? Regards, Radivoj Milin Enhydra Development Team ----- Original Message ----- From: cristiano cunha <mailto:[email protected]> To: [email protected] Cc: [email protected] Sent: Thursday, August 25, 2005 8:09 PM Subject: [enhydra] Chunked messages with enhydra6.4 Hi, In Enhydra5.1 i have an application that read a request from a client (a chunked message, N parts, "Transfer-Encoding: chunked") and it worked fine. But know that i update to Enhydra6.4 this peace of code seems not to be working. The requests arrive to the server but the part of the message where it should be the size of the chunk in hexadecimal does not arrive, is it possible that Enhydra6.4 is cutting that part out?? Thanks for your help. Cristiano. CRISTIANO CUNHA | Software Engineer [email protected] PHONE: + 351 253 305 250 FAX : +351 253 305 251 www.mobicomp.com ________________________________________________________________ ABOUT SOLUTIONS | WIRELESS WORLD CONFIDENTIALITY NOTICE: This message, as well as existing attached files, is confidential and intended exclusively for the individual(s) named as addressees. If you are not the intended recipient, you are kindly requested not to make any use whatsoever of its contents and to proceed to the destruction of the message, thereby notifying the sender. DISCLAIMER: The sender of this message can not ensure the security of its electronic transmission and consequently does not accept liability for any fact which may interfere with the integrity of its content. ------=_NextPart_000_009D_01C5AA27.F36B0210 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" xmlns=3D"http://ww= w.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"Person= Name"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Helvetica; panose-1:2 11 6 4 2 2 2 2 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0cm; mso-margin-bottom-alt:auto; margin-left:0cm; font-size:12.0pt; font-family:"Times New Roman";} pre {margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New";} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>I use org.apache.commons.httpclient.Ch= unkedInputStream to read the chunked input stream.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'>We use mod_jk 1.2.14 connector.<o:p></= o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Th= anks in advance for your help.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>Cristiano.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style= =3D'font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font siz= e=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'> <hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1> </span></font></div> <p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span style=3D'font-si= ze:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=3D2 face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Radivoj = Milin [mailto:[email protected]] <br> <b><span style=3D'font-weight:bold'>Sent:</span></b> sexta-feira, 26 de Ago= sto de 2005 9:28<br> <b><span style=3D'font-weight:bold'>To:</span></b> [email protected]<br> <b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [enhydra] Chunk= ed messages with enhydra6.4</span></font><o:p></o:p></p> </div> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D= 'font-size: 12.0pt'><o:p> </o:p></span></font></p> <div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>We need more information, what type of connector are you using (tomcat http, director or ajp connector) ?<o:p></o:p></span>= </font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'> <o:p></o:p></span></font></p> </div> <div><pre><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0= pt'>Regards,<o:p></o:p></span></font></pre><pre><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'> Radiv= oj Milin<o:p></o:p></span></font></pre><pre><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>Enhydra Deve= lopment Team<o:p></o:p></span></font></pre><pre><font size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'> <o:p><= /o:p></span></font></pre></div> <blockquote style=3D'border:none;border-left:solid black 1.5pt;padding:0cm = 0cm 0cm 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'>----- Original Message ----- <o:p></o:p></span></font></= p> </div> <div style=3D'font-color:black'> <p class=3DMsoNormal style=3D'background:#E4E4E4'><b><font size=3D2 face=3D= Arial><span style=3D'font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span><= /font></b><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <a href=3D"mailto:[email protected]" title=3D"[email protected]">cristiano= cunha</a> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span style=3D'font-siz= e:10.0pt; font-family:Arial;font-weight:bold'>To:</span></font></b><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <a href=3D"mailto:[email protected]" title=3D"[email protected]">enhyd= [email protected]</a> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span style=3D'font-siz= e:10.0pt; font-family:Arial;font-weight:bold'>Cc:</span></font></b><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <a href=3D"mailto:[email protected]" title=3D"[email protected]">rrebelo= @mobicomp.com</a> <o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span style=3D'font-siz= e:10.0pt; font-family:Arial;font-weight:bold'>Sent:</span></font></b><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> Thursday, = August 25, 2005 8:09 PM<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span style=3D'font-siz= e:10.0pt; font-family:Arial;font-weight:bold'>Subject:</span></font></b><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> [enhydra] = Chunked messages with enhydra6.4<o:p></o:p></span></font></p> </div> <div> <p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1= 0.0pt; font-family:Arial'><o:p> </o:p></span></font></p> </div> <div> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span lang=3DPT-BR style=3D'font-size:10.0pt;font-fam= ily:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span lang=3DPT-BR style=3D'font-size:10.0pt;font-fam= ily:Arial'>In Enhydra5.1 i have an application that read a request from a client (a chunk= ed message, N parts, “Transfer-Encoding: chunked“) and it worked f= ine. But know that i update to Enhydra6.4 this peace of code seems not to be working. <o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span lang=3DPT-BR style=3D'font-size:10.0pt;font-fam= ily:Arial'>The requests arrive to the server but the part of the message where it should be the size of the chunk in hexadecimal does not arrive, is it possible that Enhydra6.4 is cutting that part out??<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span lang=3DPT-BR style=3D'font-size:10.0pt;font-fam= ily:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Th= anks for your help.<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><o= :p> </o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Cr= istiano.<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D2 face=3DArial><span lang=3DPT-BR style=3D'font-size:10.0pt;font-fam= ily:Arial'><o:p> </o:p></span></font></p> <table class=3DMsoNormalTable border=3D0 cellspacing=3D0 cellpadding=3D0 al= ign=3Dleft width=3D216 style=3D'width:162.0pt'> <tr> <td width=3D216 style=3D'width:162.0pt;padding:0cm 0cm 0cm 0cm'> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto; mso-element:frame'><u1:PersonName ProductID=3D"CRISTIANO CUNHA |" u2:st= =3D"on"><st1:PersonName ProductID=3D"CRISTIANO CUNHA |" w:st=3D"on"><b><font size=3D1 color=3D"#3= 33333" face=3DHelvetica><span lang=3DPT-BR style=3D'font-size:8.0pt;font-family= :Helvetica; color:#333333;font-weight:bold'>CRISTIANO CUNHA</span></font></b><font size=3D1 color=3D"#333333" face=3DHelvetica><span lang=3DPT-BR style=3D'= font-size: 8.0pt;font-family:Helvetica;color:#333333'> |</span></font></st1:PersonN= ame></u1:PersonName><font size=3D1 color=3D"#333333" face=3DHelvetica><span lang=3DPT-BR style=3D'f= ont-size:8.0pt; font-family:Helvetica;color:#333333'> Software Engineer<o:p></o:p></span>= </font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto; mso-element:frame'><font size=3D1 color=3D"#333333" face=3DHelvetica><span lang=3DPT-BR style=3D'font-size:8.0pt;font-family:Helvetica;color:#333333= '><br> <a href=3D"mailto:[email protected]">[email protected]</a></spa= n></font><font size=3D1 color=3D"#666666" face=3DHelvetica><span lang=3DPT-BR style=3D'f= ont-size:8.0pt; font-family:Helvetica;color:#666666'><br> <br> PHONE: + 351 253 305 250</span></font><font color=3Dblack><span lang=3DPT-BR style=3D'color:black'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto; mso-element:frame'><font size=3D1 color=3D"#666666" face=3DHelvetica><span lang=3DPT-BR style=3D'font-size:8.0pt;font-family:Helvetica;color:#666666= '> FAX : +351 253 305 251<o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto; mso-element:frame'><font size=3D1 color=3D"#666666" face=3DHelvetica><span lang=3DPT-BR style=3D'font-size:8.0pt;font-family:Helvetica;color:#666666= '> </span></font><font size=3D1 color=3D"#666666" face=3DHelvetica><span lang=3DPT style=3D'font= -size:8.0pt; font-family:Helvetica;color:#666666'>www.mobicomp.com</span></font><font color=3Dblack><span lang=3DPT style=3D'color:black'><o:p></o:p></span></f= ont></p> </td> </tr> <tr> <td width=3D216 style=3D'width:162.0pt;padding:0cm 0cm 0cm 0cm'> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a= lt:auto; mso-element:frame'><b><font size=3D1 color=3D"#333333" face=3DHelvetica><= span lang=3DPT-BR style=3D'font-size:8.0pt;font-family:Helvetica;color:#333333; font-weight:bold'><o:p> </o:p></span></font></b></p> </td> </tr> <tr height=3D38 style=3D'height:1.0cm'> <td width=3D216 height=3D38 style=3D'width:162.0pt;padding:0cm 0cm 0cm 0c= m; height:1.0cm'> <p class=3DMsoNormal style=3D'mso-element:frame'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p> </o:= p></span></font></p> </td> </tr> </table> <p><font size=3D1 color=3D"#999999" face=3DHelvetica><span style=3D'font-si= ze:8.0pt; font-family:Helvetica;color:#999999'><o:p> </o:p></span></font></p> <font size=3D1 color=3D"#999999" face=3DHelvetica><span style=3D'font-size:= 8.0pt; font-family:Helvetica;color:#999999'><br clear=3Dall style=3D'page-break-be= fore: always'> </span></font> <p><font size=3D1 color=3D"#999999" face=3DHelvetica><span style=3D'font-si= ze:8.0pt; font-family:Helvetica;color:#999999'><o:p> </o:p></span></font></p> <p><font size=3D1 color=3D"#999999" face=3DHelvetica><span style=3D'font-si= ze:8.0pt; font-family:Helvetica;color:#999999'>______________________________________= __________________________<o:p></o:p></span></font></p> <p><font size=3D1 color=3D"#666666" face=3DHelvetica><span style=3D'font-si= ze:8.0pt; font-family:Helvetica;color:#666666'>ABOUT <b><span style=3D'font-weight:bo= ld'>SOLUTIONS</span></b> | </span></font><font size=3D1 color=3D"#666666" face=3DHelvetica><span style=3D'font-size:7.5pt;font-family:Helvetica;color:#666666'>WIRELESS WORL= D</span></font><font size=3D1 face=3DHelvetica><span style=3D'font-size:8.0pt;font-family:Helvet= ica'><o:p></o:p></span></font></p> <p><font size=3D1 color=3D"#666666" face=3DHelvetica><span style=3D'font-si= ze:7.5pt; font-family:Helvetica;color:#666666'>CONFIDENTIALITY NOTICE: This message, = as well as existing attached files, is confidential and intended exclusively f= or the individual(s) named as addressees. If you are not the intended recipien= t, you are kindly requested not to make any use whatsoever of its contents and= to proceed to the destruction of the message, thereby notifying the sender. <b= r> DISCLAIMER: The sender of this message can not ensure the security of its electronic transmission and consequently does not accept liability for any = fact which may interfere with the integrity of its content.</span></font><font size=3D2 face=3DHelvetica><span style=3D'font-size:10.0pt;font-family:Helve= tica'><o:p></o:p></span></font></p> <p class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt= :auto'><font size=3D3 face=3D"Times New Roman"><span lang=3DPT-BR style=3D'font-size:12.= 0pt'><o:p> </o:p></span></font></p> </div> </blockquote> </div> </div> </body> </html> ------=_NextPart_000_009D_01C5AA27.F36B0210-- ------------=_1125048085-3007-118 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ------------=_1125048085-3007-118--