Jump to content
We've recently updated our Privacy Statement, available here ×

SingletonEhCacheProvider warning.


agrnwd

Recommended Posts

 Are these warnings something to be concerned with? I don't get them when using the pre-packaged MySQL/tomcat but they appear on every startup when using the WAR installation method both when deployed on tomcat or jboss?

 

2010-11-10 15:25:29,332  WARN SingletonEhCacheProvider,main:92 - Could not find a specific ehcache configuration for cache named [com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoUser]; using defaults.

2010-11-10 15:25:29,488  WARN SingletonEhCacheProvider,main:92 - Could not find a specific ehcache configuration for cache named [com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoTenant]; using defaults.

2010-11-10 15:25:29,501  WARN SingletonEhCacheProvider,main:92 - Could not find a specific ehcache configuration for cache named [com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole]; using defaults.

2010-11-10 15:25:29,673  WARN SingletonEhCacheProvider,main:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimestampsCache]; using defaults.

2010-11-10 15:25:29,678  WARN SingletonEhCacheProvider,main:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.StandardQueryCache]; using defaults.

 

 

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 months later...
  • 2 months later...

I'm getting the same. 

I have these values in the hibernate.properties file:

metadata.hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

metadata.hibernate.dataSource.jndiName=jdbc/jasperserver

and I have these files on the system....

.../jasperserver-pro/WEB-INF/lib/LICENSE.hibernate.txt
.../jasperserver-pro/WEB-INF/lib/jasperserver-repository-hibernate-4.0.0.jar
.../jasperserver-pro/WEB-INF/lib/hibernate-jmx-3.3.2.GA.jar
.../jasperserver-pro/WEB-INF/lib/hibernate-core-3.3.2.GA-HHH-2763.jar
.../jasperserver-pro/WEB-INF/hibernateRepositoryAdditionalSettings.xml
.../jasperserver-pro/WEB-INF/hibernate.properties
.../jasperserver-pro/WEB-INF/classes/ehcache-hibernate.xml
 

What else can I check? Are these log entries serious? 

 

Code:
INFO: Initializing Spring root WebApplicationContext2011-05-05 14:40:01,745  WARN SingletonEhCacheProvider,main:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.UpdateTimestampsCache]; using defaults.2011-05-05 14:40:01,776  WARN SingletonEhCacheProvider,main:92 - Could not find a specific ehcache configuration for cache named [org.hibernate.cache.StandardQueryCache]; using defaults.
Link to comment
Share on other sites

They're not serious, just a warning that it's falling back to default settings - though we should work on adding settings (even if they are default). There's a Bug filed for this in our system #18041

 

If you can find the correct setting then I'll log them in the bug. Someone posted that the bundled install does not have this warning, can you confirm that and maybe diff the hibernate properties file?

Link to comment
Share on other sites

I tried adding the following to WEB-INF/ehcache.xml with no luck. It's just an annoyance at this point :/

 

<cache

name="org.hibernate.cache.UpdateTimestampsCache"

maxElementsInMemory="5000"

eternal="true"

overflowToDisk="true"/>

 

<cache

name="org.hibernate.cache.StandardQueryCache"

maxElementsInMemory="5"

eternal="false"

timeToLiveSeconds="120"

overflowToDisk="true"/>

 

refs:

http://ehcache.org/documentation/hibernate.html

Link to comment
Share on other sites

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...