I use JBoss 3.2.7 with Hibernate 2.1.8. I copied ehcache-0.9.jar into the $JBOSS_HOME/server/default/lib directory. Now I want to configure EHCache to use it for my application classes. I created a ehcache.xml configuration file which contains informations for caching classes of my application. But for ehcache to use this configuration file, the only place I found which works is adding it to the ehcache-0.9.jar file. This solution is not good for me. It is a configuration of the cache for my application. I'd like to place it into my application archive. But ehcache seems to not use it. What am I missing ? Where must I put this file to configure the cache for my application ?