You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "Steve.V." <st...@sas.com> on 2012/10/24 01:31:01 UTC

HttpException(413,FULL head,null) at HttpParser.java:1030)

 2012-10-23 18:53:34,270 | DEBUG | HttpParser{s=-14,l=0,c=-3} |
org.eclipse.jetty.http.HttpParser | qtp21584824-33
HttpException(413,FULL head,null)
	at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1030)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
...snip...

My C-based client uses the RESTful HTTP interface to POST/GET messages
to/from a 5.7.0 broker running on Windows.  My test case runs fine on
Windows and UNIX, but when I run it on z/OS, I encounter a failure that I
believe is due to the exception mentioned above.  I saw a post about
increasing the request/response header sizes, but I am thinking I shouldn't
be running into a 4k limitation given my small test case.  Here is an
excerpt from the broker's log:
---------------------------------------------
2012-10-23 18:53:34,238 | DEBUG | Setting up new connection id:
ID:d22275-4202-1351032748478-5:1, address: vm://localhost#2, info:
ConnectionInfo {commandId = 1, responseRequired = true, connectionId =
ID:d22275-4202-1351032748478-5:1, clientId =
ID:d22275-4202-1351032748478-4:1, clientIp = null, userName = null, password
= *****, brokerPath = null, brokerMasterConnector = false, manageable =
true, clientMaster = true, faultTolerant = false, failoverReconnect = false}
| org.apache.activemq.broker.TransportConnection | ActiveMQ VMTransport:
vm://localhost#3-1

2012-10-23 18:53:34,238 | DEBUG | amq-broker adding consumer:
ID:d22275-4202-1351032748478-5:1:-1:1 for destination:
ActiveMQ.Advisory.TempQueue,ActiveMQ.Advisory.TempTopic |
org.apache.activemq.broker.region.AbstractRegion | ActiveMQ VMTransport:
vm://localhost#3-1

2012-10-23 18:53:34,254 | DEBUG | Sending message to: queue://testq with
text: 0   Testing... 23OCT12 Xyz
 | org.apache.activemq.web.MessageServlet | qtp21584824-38 -
/demo/message?type=queue&destination=testq&type=queue&clientId=79ABA000-1D64-11E2-A85E-F0F6F5C5C1F6&JMSPriority=8&JMSCorrelationID=0000ABCDEFGhijklm&CorrelationID=0000ABCDEFGhijklm

2012-10-23 18:53:34,254 | DEBUG | amq-broker Message
ID:d22275-4202-1351032748478-5:1:1:1:1 sent to queue://testq |
org.apache.activemq.broker.region.Queue | ActiveMQ VMTransport:
vm://localhost#3-1

2012-10-23 18:53:34,254 | DEBUG | testq toPageIn: 1, Inflight: 0,
pagedInMessages.size 0, enqueueCount: 1, dequeueCount: 9 |
org.apache.activemq.broker.region.Queue | ActiveMQ BrokerService[amq-broker]
Task-1

2012-10-23 18:53:34,254 | DEBUG | Sent! to destination: queue://testq
message: ActiveMQTextMessage {commandId = 0, responseRequired = false,
messageId = ID:d22275-4202-1351032748478-5:1:1:1:1, originalDestination =
null, originalTransactionId = null, producerId = null, destination =
queue://testq, transactionId = null, expiration = 0, timestamp =
1351032814254, arrival = 0, brokerInTime = 0, brokerOutTime = 0,
correlationId = 0000ABCDEFGhijklm, replyTo = null, persistent = true, type =
null, priority = 8, groupID = null, groupSequence = 0, targetConsumerId =
null, compressed = false, userID = null, content = null,
marshalledProperties = null, dataStructure = null, redeliveryCounter = 0,
size = 0, properties = {CorrelationID=0000ABCDEFGhijklm,
clientId=79ABA000-1D64-11E2-A85E-F0F6F5C5C1F6}, readOnlyProperties = false,
readOnlyBody = false, droppable = false, text = 0   Testing... 23OCT12 Xyz
} | org.apache.activemq.web.WebClient | qtp21584824-38 -
/demo/message?type=queue&destination=testq&type=queue&clientId=79ABA000-1D64-11E2-A85E-F0F6F5C5C1F6&JMSPriority=8&JMSCorrelationID=0000ABCDEFGhijklm&CorrelationID=0000ABCDEFGhijklm

2012-10-23 18:53:34,254 | DEBUG | scope null||/demo/message @
o.e.j.w.WebAppContext{/fileserver,file:/C:/amq/fs/webapps/fileserver/} |
org.eclipse.jetty.server.handler.ContextHandler | qtp21584824-38 -
/demo/message?type=queue&destination=testq&type=queue&clientId=79ABA000-1D64-11E2-A85E-F0F6F5C5C1F6&JMSPriority=8&JMSCorrelationID=0000ABCDEFGhijklm&CorrelationID=0000ABCDEFGhijklm

2012-10-23 18:53:34,254 | DEBUG | RESPONSE /demo/message  200 handled=true |
org.eclipse.jetty.server.Server | qtp21584824-38 -
/demo/message?type=queue&destination=testq&type=queue&clientId=79ABA000-1D64-11E2-A85E-F0F6F5C5C1F6&JMSPriority=8&JMSCorrelationID=0000ABCDEFGhijklm&CorrelationID=0000ABCDEFGhijklm

2012-10-23 18:53:34,254 | DEBUG | Enabled read interest
SCEP@192974{l(/10.36.9.49:53257)<->r(/10.23.11.16:8161),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@1f0a2a0,g=HttpGenerator{s=4,h=0,b=0,c=-1},p=HttpParser{s=0,l=5,c=26},r=1}
| org.eclipse.jetty.server.AsyncHttpConnection | qtp21584824-38

2012-10-23 18:53:34,270 | DEBUG | filled 8640/8640 |
org.eclipse.jetty.http.HttpParser | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG | filled 7744/7744 |
org.eclipse.jetty.http.HttpParser | qtp21584824-33

2012-10-23 18:53:34,270 | WARN  | HttpParser Full for
SCEP@192974{l(/10.36.9.49:53257)<->r(/10.23.11.16:8161),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@1f0a2a0,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=-3},r=1} 
| org.eclipse.jetty.http.HttpParser | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG | HttpParser{s=-14,l=0,c=-3} |
org.eclipse.jetty.http.HttpParser | qtp21584824-33

HttpException(413,FULL head,null)
	at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1030)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
	at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
	at java.lang.Thread.run(Thread.java:662)

2012-10-23 18:53:34,270 | DEBUG | uri= |
org.eclipse.jetty.server.AsyncHttpConnection | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG | fields=
 | org.eclipse.jetty.server.AsyncHttpConnection | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG |  |
org.eclipse.jetty.server.AsyncHttpConnection | qtp21584824-33
HttpException(413,FULL head,null)
	at org.eclipse.jetty.http.HttpParser.fill(HttpParser.java:1030)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:280)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
	at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
	at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
	at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
	at java.lang.Thread.run(Thread.java:662)

2012-10-23 18:53:34,270 | DEBUG | sendError: 413 FULL head |
org.eclipse.jetty.http.AbstractGenerator | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG | oshut
SCEP@192974{l(/10.36.9.49:53257)<->r(/10.23.11.16:8161),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@1f0a2a0,g=HttpGenerator{s=4,h=0,b=-1,c=-1},p=HttpParser{s=7,l=0,c=-3},r=1}
| org.eclipse.jetty.io.nio.ChannelEndPoint | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG | filled 7504/7504 |
org.eclipse.jetty.http.HttpParser | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG | close
SCEP@192974{l(/10.36.9.49:53257)<->r(/10.23.11.16:8161),d=true,open=true,ishut=false,oshut=true,rb=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@1f0a2a0,g=HttpGenerator{s=4,h=0,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}
| org.eclipse.jetty.io.nio.ChannelEndPoint | qtp21584824-33

2012-10-23 18:53:34,270 | DEBUG | destroyEndPoint
SCEP@192974{l(null)<->r(/10.23.11.16:8161),d=true,open=false,ishut=true,oshut=true,rb=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@1f0a2a0,g=HttpGenerator{s=4,h=0,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1}
| org.eclipse.jetty.io.nio | qtp21584824-32 Selector0

2012-10-23 18:53:34,270 | DEBUG | closed
AsyncHttpConnection@1f0a2a0,g=HttpGenerator{s=4,h=0,b=-1,c=-1},p=HttpParser{s=0,l=0,c=-3},r=1
| org.eclipse.jetty.server.AbstractHttpConnection | qtp21584824-32 Selector0
---------------------------------------------

Any suggestions? Thanks in advance.

Cheers,
Stpehen Vincent




-----
Stephen Vincent
--
View this message in context: http://activemq.2283324.n4.nabble.com/HttpException-413-FULL-head-null-at-HttpParser-java-1030-tp4658147.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: HttpException(413,FULL head,null) at HttpParser.java:1030)

Posted by Christian Posta <ch...@gmail.com>.
Thanks for closing the loop on this. I was curious about what was wrong.

On Fri, Nov 9, 2012 at 11:24 AM, Steve.V. <st...@sas.com> wrote:

> I found that my client was sending way more than it was supposed to be
> sending in the POST request.  I fixed my code and now can successfully run
> my client on z/OS.
>
>
>
> -----
> Stephen Vincent
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/HttpException-413-FULL-head-null-at-HttpParser-java-1030-tp4658147p4659134.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Re: HttpException(413,FULL head,null) at HttpParser.java:1030)

Posted by "Steve.V." <st...@sas.com>.
I found that my client was sending way more than it was supposed to be
sending in the POST request.  I fixed my code and now can successfully run
my client on z/OS.



-----
Stephen Vincent
--
View this message in context: http://activemq.2283324.n4.nabble.com/HttpException-413-FULL-head-null-at-HttpParser-java-1030-tp4658147p4659134.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.