Posted: Thu Apr 30, 2015 4:03 am Post subject: The number of bytes read 4096 is less... exception
Novice
Joined: 31 May 2011 Posts: 24
Hello,
we have an application which provides web service with SOAP Input node. It is deployed into EG. The SOAP node uses emebedded HTTPS listener with client authentication enabled.
If the incoming message is bigger than 4kB, then we will receive following:
Code:
Failure when reading Request Message Body.
The number of bytes read 4096 is less than the Content-Length 9480
java.io.IOException: The number of bytes read 4096 is less than the Content-Length 9480 at com.ibm.broker.inlinehttp.tomcatthreadpool.TomcatInstanceManager$AdapterClass.getRequestBodyData(TomcatInstanceManager.java:3648) at com.ibm.broker.inlinehttp.tomcatthreadpool.TomcatInstanceManager$AdapterClass.service(TomcatInstanceManager.java:3034) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:761)
HTTP status is 400 Bad Request.
If the incoming message is smaller, than it will proceed into msgflow without problem.
There is no WS-Security enabled.
I have found following APARs http://www-01.ibm.com/support/docview.wss?uid=swg1IC98925 and http://www-01.ibm.com/support/docview.wss?uid=swg1IC98691. Both are valid for IIB v9 but we run WMB v8.
If we switch to broker-wide listener (clientAuth enabled) there is no such problem.
WMB v7 works fine too.
Did anybody run into similar issue?
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Time to raise a PMR and get IBM to port the APAR to V8 (If possible) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum