Increase the stack size available to Java for both the Runtime and the customerdata serviceTo increase the default stack size available to Java, the following JVM parameter can be used. In this case, the stack size is set to 16 MB. This parameter needs be set for both the Runtime and the customerdata service. Please consult the documentation of your application server how to set this parameter on startup. Â Standalone jarIn the configuration of the customerdata service blueriq-customerdata-odata-service-v1.yml , located in the Include Page |
---|
| DOC:_ConfigLocation |
---|
| DOC:_ConfigLocation |
---|
| , set the following property: Code Block |
---|
server:
max-http-header-size: 256000 |
JBoss EAPOlder versions (until JBoss EAP 6.4.0), with Tomcat as Servlet container, can use the code below. Note that the default value for the max header size is 8 KB in Tomcat. Code Block |
---|
language | xml |
---|
title | standalone.xml |
---|
| <system-properties>
...
<property name="org.apache.coyote.http11.Http11Protocol.MAX_HEADER_SIZE" value="256000"/>
</system-properties> |
Newer versions (JBoss EAP 7.0 and newer), with Undertow as servlet container can use the code below. Note that the default value for the max header size is 1 MB in Undertow. Code Block |
---|
language | xml |
---|
title | standalone.xml |
---|
| <subsystem xmlns="urn:jboss:domain:undertow:1.2">
...
<server name="default-server">
<http-listener name="default" ... max-header-size="256000"/>
...
</server>
...
</subsystem> |
Older versions (until JBoss EAP 6.4.0), with Tomcat as Servlet container, can use the code below. Note that the default value for the max header size is 8 KB in Tomcat. Code Block |
---|
language | xml |
---|
title | standalone.xml |
---|
| <system-properties>
...
<property name="org.apache.coyote.http11.Http11Protocol.MAX_HEADER_SIZE" value="256000"/>
</system-properties> |
TomcatIn server.xml , you can add an attribute maxHttpHeaderSize=256000 to the Connector that is used for the CDS. Note that the default value for this is 8 KB in Tomcat. More information: https://tomcat.apache.org/tomcat-9.0-doc/config/http.html, https://tomcat.apache.org/tomcat-10.1-doc/config/http.html |