Previous Topic: Modify the AffWebServices.properties File for JBOSS or TomcatNext Topic: Unattended Mode Installation


Modify the Tomcat catalina.properties File (Tomcat 6.0.18 or higher)

If you deploy Federation Web Services on an Apache Tomcat server 6.0.18 or higher, a configuration change for SAML POST and Artifact transactions is required. Add a configuration parameter to the catalina.properties file.

Follow these steps:

  1. Navigate to Tomcat_home/conf.

    Tomcat_home

    Specifies the installed location of the Tomcat application server.

  2. Open the catalina.properties file.
  3. Add the following configuration parameter in the "String cache configuration" section of the file:

    org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true

    The following sample shows the entries in the Catalina.properties file:

    # String cache configuration.
    tomcat.util.buf.StringCache.byte.enabled=true
    #tomcat.util.buf.StringCache.char.enabled=true
    #tomcat.util.buf.StringCache.trainThreshold=500000
    #tomcat.util.buf.StringCache.cacheSize=5000
    org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
    

For Apache Tomcat 6.0.32 or later, add the following configuration parameter to the "String cache configuration" section of the catalina.properties file. This file exists in the Tomcat_home/conf. directory. Tomcat_home is the installed location of the Tomcat application server.

org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true

The following sample shows the entries in the "String cache configuration" section of the Catalina.properties file:

# String cache configuration.
tomcat.util.buf.StringCache.byte.enabled=true
#tomcat.util.buf.StringCache.char.enabled=true
#tomcat.util.buf.StringCache.trainThreshold=500000
#tomcat.util.buf.StringCache.cacheSize=5000
org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
org.apache.tomcat.util.http.ServerCookie.ALLOW_EQUALS_IN_VALUE=true