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&containerType=14&container=2052]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to