Jaspersoft Error Message "No Message found under code `null` for locale `en_US`".

Document ID : KB000046285
Last Modified Date : 14/02/2018
Show Technical Document Details

Symptoms: 

Getting an Error Message when trying to create a report under Jaspersoft:

Error Details

The server has encountered an error. Please excuse the inconvenience.

Error Message

No message found under code ull` for locale `en_US

 

Cause: 

The case hibernation settings are not finished

 

Resolution:

Under the JasperSOft Server please add the following property key values (which are in bold letters) in the hibernateProperties in <TOMCAT>\webapps\reportservice\WEB-INF\applicationContext.xml file and restart the Jaspersoft so you can apply the changes.

 

    <property name="hibernateProperties">

      <props>

        <prop key="hibernate.dialect">${metadata.hibernate.dialect}</prop>

        <prop key="hibernate.show_sql">false</prop>

        <prop key="hibernate.generate_statistics">true</prop>

        <!--uncomment property below if a default schema should be specified such as for DB2-->

        <!--<prop key="hibernate.default_schema">${metadata.hibernate.default_schema}</prop>-->

        <!--Cache Configurations-->

        <prop key="hibernate.cache.region.factory_class">${hibernate.cache.region.factory_class}</prop>

        <prop key="net.sf.ehcache.configurationResourceName">/ehcache_hibernate.xml</prop>

        <prop key="hibernate.cache.use_minimal_puts">false</prop>

        <prop key="hibernate.cache.use_query_cache">true</prop>

        <prop key="hibernate.cache.use_second_level_cache">true</prop>

        <prop key="hibernate.cache.use_structured_entries">true</prop>

         <prop key="hibernate.c3p0.min_size">5</prop>

         <prop key="hibernate.c3p0.max_size">200</prop>

         <prop key="hibernate.c3p0.timeout">300</prop>

         <prop key="hibernate.c3p0.max_statements">500</prop>

         <prop key="hibernate.c3p0.idle_test_period">60</prop>

         <prop key="hibernate.c3p0.acquire_increment">2</prop>

         <prop key="hibernate.c3p0.testConnectionOnCheckin">true</prop>

      </props>

    </property>