• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

issue with ehcache while configuring in spring context. Cache not getting configured in cacheManager  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Spring 3.0.6 in my project in which i am trying to configure the annotation based ehcache. Below are the beans i have defined for cacheManager and cache in my spring context. When i test this configuration i am not getting the cache under the cacheManger. The requirement is to provide the cache initializing parameters through a property file thats why i am not using external ehcache.xml for cache configuration. I am not sure if i am missing any particular configuration to make it working, as per the API it should add the cache to the cacheManager but while debugging i didn't find any cache in the cacheManager. Please suggest. Many thanks in advance!

maven dependecy inserted in pom
Posts: 17314
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the entire exception stack trace you are getting when you run your aplication?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!