"java.lang.IllegalStateException: Form too large" error on HTTP connector.

"java.lang.IllegalStateException: Form too large" error on HTTP connector.

book

Article ID: KB0094430

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
TIBCO ActiveMatrix BusinessWorks Service Engine -

Description

Description:
Getting "java.lang.IllegalStateException: Form too large xxxxx >yyyy" in a WabApp application.

19 Jan 2016 14:12:34,664 [abc_ri] [WARN ] [] org.mortbay.log.Logger - /xxx/yyy/zzz/www.json
java.lang.IllegalStateException: Form too large1039866>200000
        at org.mortbay.jetty.Request.extractParameters(Request.java:1545)
        at org.mortbay.jetty.Request.getParameterValues(Request.java:877)
        at org.springframework.web.context.request.ServletWebRequest.getParameterValues(ServletWebRequest.java:130)
        at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.resolveName(RequestParamMethodArgumentResolver.java:205)

Issue/Introduction

"java.lang.IllegalStateException: Form too large" error on HTTP connector.

Resolution

Specify JVM property "org.mortbay.jetty.Request.maxFormContentSize" and set an appropriate value.
 
1). Go to Administrator UI -> Infrastructure -> Node -> NodeName (where problematic application is deployed) -> Configuration -> JVM Configuration -> Properties


2). Now click Add and add the above property and set a proper value.


3). After you make the change, you will see Node  Synchronization will show "Out Of Sync". Click "Install or Sync". That will make the node status back to "Sync".


4). Restart the node.