-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
Hi Team,
In my project we need to implement the caching for the application which is running in JBOSS. Basically I need to cache the objects from the servlet. I have downloaded the infinispan-7.0.2.Final-minimal to try it in eclipse.
Below is the very sample code to try.
import org.infinispan.Cache;
import org.infinispan.manager.DefaultCacheManager;
public class SimpleCaching {
static void main(String args[]) {
try
catch (Exception ex1)
{ System.out.println(ex1.getMessage()); } }
}
I have added all the dependencies, but I am getting "Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at org.infinispan.factories.components.ComponentMetadataPersister.main(ComponentMetadataPersister.java:50)" exception.
I am very new to this, can anyone explain where I am missing.
Thanks in advance for your help!
Regards,
Uday Shankar.