Indexing Large Files

When indexing large documents, it is recommended that you use an HTTP POST operation to change the application server limits for the files that it accepts. For example, in the Tomcat application server, the maxPostSize parameter can be updated to remove the limit in the \Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml file, as follows:

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" maxPostSize="0"/>

Note: If the Tomcat application server was installed during the WebFOCUS installation, the maxPostSize limit is already removed.

If the maxPostSize parameter is not set, the default value is 2097152 (2 megabytes). If this limit is exceeded, the following error is written to the Tomcat log:

java.lang.IllegalStateException: Post too large
at org.apache.catalina.connector.Request.parseParameters(Request.java:2368)
at org.apache.catalina.connector.Request.getParameter(Request.java:1005)

WebFOCUS

Feedback