This content has been marked as final.
Show 1 reply
-
1. Re: Datagrid in shared mode
wdfink May 28, 2016 4:50 PM (in response to kotak25krishna)I guess you have two war files and add the library to the war, the cache is a different instance (classloader, configuration ...)
So one option is to configure JGroups for both to build a cluster. If you have both war files in the same JVM this might be an overhead as you have two copies of the entries.
Second option is to have a third application which contain the cache and access the CacheManager via EJB access or bind a JNDI entry (this only works i´within the same JVM)