ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » The number of bytes read 4096 is less... exception

Post new topic  Reply to topic
 The number of bytes read 4096 is less... exception « View previous topic :: View next topic » 
Author Message
sajtron
PostPosted: Thu Apr 30, 2015 4:03 am    Post subject: The number of bytes read 4096 is less... exception Reply with quote

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?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Apr 30, 2015 5:39 am    Post subject: Reply with quote

Jedi Council

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.
Back to top
View user's profile Send private message
sajtron
PostPosted: Thu Apr 30, 2015 5:42 am    Post subject: Reply with quote

Novice

Joined: 31 May 2011
Posts: 24

Yes, we will create it. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » The number of bytes read 4096 is less... exception
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.