413 Request Entity Too Large - web service client trying to call JBoss EAP through Apache Web Server / mod_jk
Issue
- Wireshark trace shows that web server is rejecting with the response below, but the same error is not present either in JBoss EAP logs or in the apache logs in debug mode.
Hypertext Transfer Protocol
HTTP/1.1 413 Request Entity Too Large\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 413 Request Entity Too Large\r\n]
[Message: HTTP/1.1 413 Request Entity Too Large\r\n]
[Severity level: Chat]
[Group: Sequence]
Request Version: HTTP/1.1
Status Code: 413
Response Phrase: Request Entity Too Large
Date: Fri, 15 Feb 2013 21:49:36 GMT\r\n
Server: Apache/2.2.15 (Red Hat)\r\n
Connection: close\r\n
Content-Type: text/html; charset=iso-8859-1\r\n
\r\n
[ajp-10.10.10.10-8009-1] DEBUG (org.jboss.ws.core.soap.MessageFactoryImpl) - createMessage: [contentType=multipart/related;
boundary=MIMEBoundary_31c97d726c91ad383489007f7b814a12eee5a08a363091bf;
type="application/xop+xml";
start="<0.21c97d726c91ad383489007f7b814a12eee5a08a363091bf@apache.org>";
start-info="application/soap+xml"; action="urn:processNPCMsg"]
[ajp-10.10.10.10-8009-1] DEBUG (org.apache.coyote.ajp.AjpMessage) - Received 0 18
[ajp-10.10.10.10-8009-1] TRACE (org.jboss.ws.core.soap.MessageFactoryImpl) - createMessage
[ajp-10.10.10.10-8009-1] DEBUG (org.jboss.ws.metadata.umdm.EndpointMetaData) - Configure SOAPBinding
[ajp-10.10.10.10-8009-1] ERROR (org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS) - SOAP request exception
java.lang.IllegalArgumentException: multipart/related stream invalid, no root part was found
at org.jboss.ws.core.soap.attachment.MultipartRelatedDecoder.decodeMultipartRelatedMessage(MultipartRelatedDecoder.java:171)
- How to increase the maxPostSize value from default 2MB to 10MB to upload larger files?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.1.1
- Red Hat Apache Web Server
- 2.2.15
- mod_proxy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
