Hi,
i'm running JBoss 4.0.0 and have placed the following files in the /server/default/lib directory:
1. ehcache.xml
2. ehcache-1.0.jar
When I load up Jboss I get the following error message:
Code:
14:33:19,625 WARN  [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/Library/jboss-4.0.0/server/default/lib/ehcache-1.0.jar!/ehcache-failsafe.xml
14:33:19,669 WARN  [Plugin] Could not find configuration for test.Stock. Configuring using the defaultCache settings.
My hibernate.har structure is as follows:
-test/*.hbm.xml, *.class
-META-INF/hibernate-service.xml
-hibernate.cfg.xml
In an hbm.xml file I do the following:
Code:
   <class name="ArtistImages" table="artistimagestbl">
      <cache usage="read-write"/> 
      <id name="ID" column="artistimage_id">
          <generator class="assigned"/>
      </id>
      .................   
   </class>
Where do I place the ehcache files if not in the /server/default/lib directory?
regards
Andrew