SEVERE: No Store configured, persistence disabled

author
Shicong Hong
EnrichVersion
6.4
6.3
6.2
6.1
6.0
EnrichProdName
Talend Data Fabric
Talend Real-Time Big Data Platform
Talend Big Data Platform
Talend MDM Platform
Talend Data Services Platform
Talend Data Management Platform
task
Installation and Upgrade
EnrichPlatform
Talend DQ Portal

How to eliminate the error message SEVERE: No Store configured, persistence disabled

An error message may be appended to Tomcat's log file while using Talend DQ Portal. This article describes this error and provides solutions to eliminate it.
When launching Tomcat to run Talend DQ Portal, the error message "SEVERE: No Store configured, persistence disable" may occur several times in Tomcat's log file (catalina.out).
Feb 27, 2013 10:11:59 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive SpagoBIBirtReportEngine.war
Feb 27, 2013 10:12:02 AM org.apache.catalina.session.PersistentManagerBase start
SEVERE: No Store configured, persistence disabled
Feb 27, 2013 10:12:02 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive SpagoBICommonJEngine.war
Feb 27, 2013 10:12:03 AM org.apache.catalina.session.PersistentManagerBase start
SEVERE: No Store configured, persistence disabled
...

This error is related to Tomcat settings, and is not a bug of Talend DQ Portal. The error does not affect the normal use of Talend DQ Portal, and thus could be simply ignored.

However, the error can also be eliminated by configuring Tomcat as described below.

Talend DQ Portal is not deployed

Before Tomcat is started for the first time, Talend DQ Portal's war files, such as tdqportal.war, cannot be found in <Tomcat installation path>/webapp/, because they haven't been deployed yet.
  1. Open context.xml under <Tomcat installation path>/conf/ and uncomment the following line.
    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
    <!--
    <Manager pathname="" />
    -->

    such as to read:

    <!-- Uncomment this to disable session persistence across Tomcat restarts -->
                  
    <Manager pathname="" />

Talend DQ Portal is already deployed

If Tomcat has already been started, then the tdqportal.war file and other related folders can be found under <Tomcat installation path>/webapp/.
  1. Stop Tomcat server.
  2. Open the context.xml file which can be found respectively in each of the following directories:

    <Tomcat installation path>/conf/

    <Tomcat installation path>/webapp/tdqportal/META-INF

    <Tomcat installation path>/webapp/SpagoBITalendEngine/

    <Tomcat installation path>/webapp/SpagoBIQbeEngine/

    <Tomcat installation path>/webapp/SpagoBIJPivotEngine/

    <Tomcat installation path>/webapp/SpagoBIJasperReportEngine/

    <Tomcat installation path>/webapp/SpagoBIConsoleEngine/

    <Tomcat installation path>/webapp/SpagoBICommonJEngine/

    <Tomcat installation path>/webapp/SpagoBIBirtReportEngine/

  3. In each context.xml, replace all occurence of the following line:
    <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>

    with this line:

    <Manager pathname="" />
    Note: If necessary, clean all under <Tomcat installation path>/conf/Catalina/<host>.