Amol Umrani [
http://community.jboss.org/people/amolumrani] replied to the discussion
"How to do jboss caching"
To view the discussion, visit:
http://community.jboss.org/message/559789#559789
--------------------------------------------------------------
Hello Navin,
I have use sample-configurations.xml file for configurating infinispan.
I have done as follows..
EmbeddedCacheManager cacheManager = *new* DefaultCacheManager(sample-configurations.xml);
Cache cache = manager.getCache("Local");
bcoz Local is the namedCache in my xml
then cache.put("Key1", "value1", 10, TimeUnit.SECONDS);
and i have called this class from jsp for result..
when i have deployed the jsp following is the error shown on server window..
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'property'. One of
'{"urn:infinispan:config:4.0":properties}' is expected.
So please help me regarding this..
Thanks,
Amol
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/559789#559789]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]