• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ehcache.xml file I have in my ejb app is not used

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I have an EJB app that is using JPA - Hibernate implementation. Application server that I use is Jboss 4.2.2. I decided to add second level caching. But unfortunately configuration
that I have in ehcache.xml file is not used. This is what I got when deploying the app:

WARNING: Could not find a specific ehcache configuration for cache named [My_APP_ear,My_EJB_jar,videostorecontext.com.videostore.model.User]; using defaults.

Here is part of persistence.xml


This is ehcache.xml


Structure of my project looks like this

What shall I do so that configuration I did is used instead of the default one. Thanks for your help.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic