[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Large web service request, connection prematurely closed

PeterJ do-not-reply at jboss.com
Wed Apr 1 16:37:16 EDT 2009

Digging through the source of Woodstox (http://woodstox.codehaus.org/) was not that helpful - apparently there is some configuration file somewhere that links the Woodstox reader with a socket.

Does the transfer take longer than 20 seconds? If so, try increasing the connectionTimeout in server/xxx/deploy/jboss-web.deploy/server.xml.

You can also try setting maxPostSize at the same location. See the tomcat docs for details: http://tomcat.apache.org/tomcat-5.5-doc/config/http.html (Yes, maxPostSize defaults to 2MB, but if you are sending Unicode characters then each char takes 2 bytes, thus your assumed 1MB message might actually be 1 mega-characters, or 2MBs).

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222791#4222791

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222791

More information about the jboss-user mailing list