I'm having json which has large size and when it exceeds 5kb , it throws exception
java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149) at
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110) at
as per above link there is a following format
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="500000">
</jsonSerialization>
</webServices>
</scripting>
</system.web.extensions>
we can set maxJsonLength So same way Is there any configuration needs to do in Jboss7.1.1.Final to maximize size of json to accept large json? If yes please provide syntax. Also I've gone through some links about maxpostsize will it be helpful in this? Main concern is when client sends large size json data via HttpPost , it throws exception as above while Jboss7.1.1.Final is used