1 2 Previous Next 18 Replies Latest reply on Aug 31, 2010 10:41 AM by navssurtani Go to original post
      • 15. Re: How to do jboss caching
        Object caching means I want to see how data is pushed to cache.

        You can use JMX to see info about cache access[1]. Can you please move the discussion to Infinispan mailing list as it is not JBossCache related.

        [1] See Managent tooling here: http://community.jboss.org/wiki/infinispan

        • 16. Re: How to do jboss caching

          Hello Navin,


          As per our previous discussion I have made simple java class for caching.


          Now i want to see that object is cached or not


          So i need to write jsp to call that class is it correct?


          if yes so please tell me how to call that class in jsp...





          • 17. Re: How to do jboss caching

            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..

            • 18. Re: How to do jboss caching



              Since you're now using Infinispan and that your issue is now with Infinispan configurations could you please make a new post on the Infinispan forums please? Also, if you could post up your xml file there would be appreciated as well.


              Just so that other users who have had the same problems can then help you out as well.




              1 2 Previous Next