The server configuration does not include the folder "cluster" which usually includes the cache config files in the folder "jboss-cache-manager.sar".
However, the caching of entities works fine!
Why is the caching working?
Where can we configure the cache behaviour?
The only jboss.cahe entry in JMX-Console is service=InvalidationManager, we have no cache statistics, etc.
We have the understand the configuration in order to fix a cache problem: As soon as a certain execption is thrown while the entity manager merges a changed entity to the database, the changes of the entity are written to the cache but they are NOT written to the underlying database. As soon as the next service accesses this entity an OptimisticLockException is thrown.
It seems that the cache does not know that an exception was thrown, it produces no rollback...?