the servlet specification defines Content-Length as an int. even though in some places tomcat has it as a long, you are still running into this limitation
so the problem is in the spec, and needs to be corrected there
Filip

Daniel Dang wrote:
Hi All

I am using Apache-tomcat-5.5.16 version (ajp connector).
Every time when I send 2.1GB binary data the apache-tomcat-5.5.16 is
working fine. But when I tried to send 3GB binary data I got the
following error below:
I am looking for a solution to send more than 3GB data to apache-tomcat

Many thanks in advance..

[TP-Processor3] ERROR common.HandlerRequest  - Error decoding request
java.lang.NumberFormatException
        at org.apache.tomcat.util.buf.Ascii.parseInt(Ascii.java:145)
        at
org.apache.tomcat.util.buf.ByteChunk.getInt(ByteChunk.java:521)
        at
org.apache.tomcat.util.buf.MessageBytes.getInt(MessageBytes.java:688)
        at
org.apache.jk.common.HandlerRequest.decodeHeaders(HandlerRequest.java:57
9)
        at
org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:39
7)
        at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:260)
        at
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:
684)
        at org.apache.jk.common.ChannelSocket
$SocketConnection.runIt(ChannelSocket.
java:876)
        at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool
.java:684)
        at java.lang.Thread.run(Thread.java:619)


thanks


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to