Gen Java proxy with Liberty "SRVE0325E: Exceeding maximum parameters..."
search cancel

Gen Java proxy with Liberty "SRVE0325E: Exceeding maximum parameters..."

book

Article ID: 379657

calendar_today

Updated On:

Products

Gen Gen - Run Time Distributed

Issue/Introduction

Testing Gen 8.6 Java Proxy sample deployed to Open Liberty which has a very large import repeating group view and see error on browser:
*****

SRgvTest32k


An exception occurred calling SRgvTest32k.execute method

Exception: java.lang.IllegalArgumentException

Description: null

Stack Trace:

java.lang.IllegalArgumentException

    at com.ibm.wsspi.webcontainer.util.RequestUtils.parseQueryString(RequestUtils.java:672)
    at com.ibm.wsspi.webcontainer.util.RequestUtils.parseQueryString(RequestUtils.java:101)

*****

The Liberty Console and messages.log shows:
SRVE0325E: Exceeding maximum parameters allowed per request 10,000 ,current 10,000 , cannot add more.

Environment

Gen 8.6 Java Proxy
Open Liberty 24.0.0.8
WebSphere Liberty 24.0.0.8

Resolution

Add this line to the Liberty server.xml file to allow unlimited parameters:

<webContainer com.ibm.ws.webcontainer.maxparamperrequest="-1"/>

Additional Information