Previous Topic: Deploy an FWS WAR File in JBoss or Tomcat

Next Topic: Protect the Federation Web Services Application

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. You must add a configuration parameter to the catalina.properties file.

To modify the catalina.properties file

  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 is a sample of 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