This content has been marked as final.
Show 2 replies
-
1. Re: JBoss5, Hibernate and EHCache
carlolf Dec 8, 2008 10:21 AM (in response to carlolf)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:persistence.unit:unitName=dpjwApp-ear-1.0.ear/dpjw-core-1.0.jar#dpjw_office.
whereas in JBoss 4.2.3 it wasdpjwApp-ear-1_0_ear,dpjw_office.
.
Carlo
Nice to see: BUT what can WE do here??? -
2. Re: JBoss5, Hibernate and EHCache
israeldl Jan 12, 2009 7:34 AM (in response to carlolf)I'm having the same problem!
BUT what can WE do here??? ++