Re: Transfer-Encoding: trunked, OPS-3.5.1, not working correctly

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Transfer-Encoding: trunked, OPS-3.5.1, not working correctly

Erik Bruchez
Administrator
Chris,

Mmm, this seems to be related to what's going on the wire, and Orbeon
Forms does not control that directly. Chunked encoding is produced by an
HTTP server, and decoded by an HTTP client. Orbeon uses Apache
commons-httpclient, which I don't think we have upgraded recently.

I think it would be best for you to look at what's going on the wire, to
see if the server is actually producing something wrong. Not fun, I know ;-)

-Erik

ChrisSpeare wrote:

> Bit of a mystery here.  Was running 3.5.0 on my middle (not test, not live)
> server after testing with 3.5.1 on my test server.  Upgraded the middle
> server and things go funky on a cUrl operation. Going into the Orbeon form
> (through cUrl) all goes well, a request then comes out of Orbeon to say
> we're done to a php page which then cUrls to another php page. On 3.5.0 this
> works, on 3.5.1 Orbeon complains about a bad chunk size (
> http://www.nabble.com/file/p11322342/xforms-server-submit.htm
> xforms-server-submit.htm ):
>
> When on 3.5.0 it only appears to use content-type/size, but 3.5.1 uses
> chunked.  What is the issue here?  Using mod_jk to loop into OPS due to
> server naming issues, however this is used on 3.5.0, the only thing which
> changed is the orbeon version??
>
> The following error has occurred:
> Error Message
>
> Bad chunk size: <html><head><meta HTTP-EQUIV='Content-Type'
> CONTENT='text/html
> Exception Class   java.io.IOException
> Message Bad chunk size: <html><head><meta HTTP-EQUIV='Content-Type'
> CONTENT='text/html
> Servlet Stack Trace
> (92 method calls)
> Class Name Method Name File Name Line Number
> org.apache.commons.httpclient.ChunkedInputStream
> getChunkSizeFromInputStream ChunkedInputStream.java 305
> org.apache.commons.httpclient.ChunkedInputStream nextChunk
> ChunkedInputStream.java 220
> org.apache.commons.httpclient.ChunkedInputStream read
> ChunkedInputStream.java 175
> java.io.FilterInputStream read N/A
> org.apache.commons.httpclient.AutoCloseInputStream read
> AutoCloseInputStream.java 107
> java.io.BufferedInputStream fill N/A
> java.io.BufferedInputStream read N/A
> org.orbeon.oxf.xforms.XFormsModelSubmission$ConnectionResult
> setHasContentFlag XFormsModelSubmission.java 1107
> org.orbeon.oxf.xforms.XFormsModelSubmission$ConnectionResult
> setResultInputStream XFormsModelSubmission.java 1095
> org.orbeon.oxf.xforms.XFormsSubmissionUtils doRegular
> XFormsSubmissionUtils.java 238
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Transfer-Encoding: trunked, OPS-3.5.1, not working correctly

Alessandro Vernet
Administrator
Chris,

On 6/27/07, ChrisSpeare <[hidden email]> wrote:
> On 3.5.0 this
> works, on 3.5.1 Orbeon complains about a bad chunk size (
> http://www.nabble.com/file/p11322342/xforms-server-submit.htm
> xforms-server-submit.htm ):

Could you try this with a nightly build? I remember fixing some
problem recently related to this, and I think this was done after
releasing 3.5.1.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws