Configuring a Persistent Session Manager

Configure a persistent session manager by modifying the context.xml file.

The Jive package includes a persistent session manager. To use it, you'll need to edit the /usr/local/jive/applications/sbs/conf/context.xml file to include your core database's relevant information. If you've installed Jive on a cluster, you'll need to modify the context.xml file for each node of the cluster.

In the context.xml file, add a <Context> method that includes your database information. Here is an example:
  
<!-- The contents of this file will be loaded for each web application -->  
<Context>
  <!-- Default set of monitored resources -->  
  <WatchedResource>WEB-INF/web.xml</WatchedResource>  
      <!-- prevent tomcat from saving HTTP session -->
  <Manager className="com.jivesoftware.catalina.session.JivePersistentManager" saveOnRestart="true" maxActiveSessions="-1" minIdleSwap="-1"  
            maxIdleSwap="-1" maxIdleBackup="1" processExpiresFrequency="1">
      <Store className="com.jivesoftware.catalina.session.store.JiveJDBCSessionStore"                 
                   driverName=""  
                   connectionURL=""                
                   connectionName=""  
                   connectionPassword=""  
                   sessionTable="jivesession" />  
  </Manager>  
</Context>