Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

No Format
titleBGColor#F0F0F0
borderStyledashed
titleEnabling shared libraries in CATALINA_BASE/conf/catalina.propertiesborderStyledashed
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

...

Jasig portlets, as well as many other popular JSR-168 portlets, rely on the ability to share user session data between the portal web application and portlet applications. To enable this feature in Tomcat, you must add the emptySessionPath="true" parameter to the in-use connector (configured in Tomcat 6 in CATALINA_BASE/conf/server.xml ).

Code Block
xml
xml
titleExample Tomcat Connector Configurationxml
<Connector port="8080" protocol="HTTP/1.1"
    connectionTimeout="20000" redirectPort="8443" emptySessionPath="true"/>

...

GZipping of HTML content can be performed via Tomcat. To enable this functionality, set compression="on" in the in-use Tomcat connector, and set the list of compressable mime types. More information about this feature can be found in the Tomcat configuration page.

Code Block
xml
xml
titleExample GZip Configurationxml
<Connector port="8080" protocol="HTTP/1.1"
    connectionTimeout="20000" redirectPort="8443" emptySessionPath="true"
    compression="on" compressableMimeType="text/html,text/xml,text/plain"/>

...