Jump to content
We've recently updated our Privacy Statement, available here ×
  • Issue Concerning Temp Folder Used In JasperReports Server


    Tom C
    • Features: Cache Version: v6.2 Product: JasperReports® Server

    TIBCO JasperReports® Server web application needs temp folder to generate and keep track of the cache objects necessary for session sharing. In general, the default JRE/JDK temporary file directory is specified by system property java.io.tmpdir. On Linux, this property is typically named "/tmp" under root or "/var" folder. On Windows OS, it is typically the "C:temp".

    A different folder may be used due to environmental configuration when the JVM is invoked overriding any programmatic changes to this property. Users can specify java.io.tmpdir System property with the following JVM property setting:

    java -Djava.io.tmpdir=/path/to/tmpdir

    If this temp folder is not correctly set up, user may encounter problems when running import during JasperReports® Server installation. For your information, the temp location for the installation script is defined in {js-install}/buildomatic/conf_source/iePro/applicationContext.xml file:

      <bean id="sysProperties" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
        <property name="targetObject" value="#{@systemProperties}"/>
        <property name="targetMethod" value="putAll"/>
        <property name="arguments">
          <util:properties>
            <prop key="ehcache.disk.store.dir">#{ systemProperties['java.io.tmpdir'] }</prop>
            <prop key="net.sf.ehcache.disabled">${property.ehcache.disabled}</prop>
          </util:properties>
        </property>
      </bean>

    TTC-20161129-70999
     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...