I tracked the problem within the debugger and found the source of the error. Obivously it is a different naming scheme they have in JBoss 5.
Looking at the constructor of Hibernate's SessionFactoryImpl(), I saw the creation of a local variable named 'cacheRegionPrefix' (String cacheRegionPrefix = settings.getCacheRegionPrefix()), which is then later used as argument for a cache region name.
Now, in JBoss this cacheRegionPrefix results into something like this:
whereas in JBoss 4.2.3 it was
Nice to see: BUT what can WE do here???
I'm having the same problem!
BUT what can WE do here??? ++