Jump to content
We've recently updated our Privacy Statement, available here ×
  • New Cache Properties in ehcache_hibernate.xml for JasperReports Server 8.0/8.1


    jpadre
    • Features: JasperReports Server Version: v8 Product: JasperReports® Server

    The NO CLUSTERING section of ehcache_hibernate.xml included with JasperReports Server 8.0/8.1 installation includes eight new cache properties - defaultRepoCache, roles, rolesByTenant, users, usersByTenant, tenants, tenantsByName, profileAttributes. By default, this section is uncommented.

    When deploying JasperReports Server 8.0/.8.1 with repository cache replication, for all distribution mechanisms, it’s necessary to comment out only the defaultRepoCache in the NO CLUSTERING section. The remaining cache entries should not be commented out.

    <!-- <cache name="defaultRepoCache"
    maxElementsInMemory="10000"
    eternal="false"
    overflowToDisk="false"
    timeToIdleSeconds="36000"
    timeToLiveSeconds="180000"
    diskPersistent="false"
    diskExpiryThreadIntervalSeconds="120"
    statistics="true">
    </cache>
     -->
    <cache name="roles"
    maxElementsInMemory="1000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>
    <cache name="rolesByTenant"
    maxElementsInMemory="1000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>
    <cache name="users"
    maxElementsInMemory="10000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>
    <cache name="usersByTenant"
    maxElementsInMemory="10000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>
    <cache name="tenants"
    maxElementsInMemory="1000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>
    <cache name="tenantsByName"
    maxElementsInMemory="1000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>
    <cache name="folders"
    maxElementsInMemory="100000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>
    <cache name="profileAttributes"
    maxElementsInMemory="100000"
    eternal="true"
    overflowToDisk="false"
    diskPersistent="false"/>

    For more information on configuring JasperReports Server nodes for repository cache replication, refer to the Designing a Cluster chapter of the JasperReports Server Ultimate Guide.

     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...