1 Reply Latest reply on Sep 18, 2007 1:28 PM by manik

    JBCACHE-118

    brucespringfield

      using JBC 1.4.1 on JBoss 4.2.1.GA

      encountered following messages on what appears as every get() :

      10:15:00,639 INFO [CacheLoaderInterceptor] CacheLoader.get(Fqn) returned a null; assuming the node does not exist.
      10:15:00,639 INFO [CacheLoaderInterceptor] The CacheLoader interface has changed since JBossCache 1.3.x
      10:15:00,639 INFO [CacheLoaderInterceptor] Please see http://jira.jboss.com/jira/browse/JBCACHE-118
      10:15:00,639 INFO [CacheLoaderInterceptor] CacheLoader.get() should return an empty Map if the node does exist but doesn't have any attributes.

      Read through http://jira.jboss.com/jira/browse/JBCACHE-118, but still not clear how to get around this or what is wrong. Any suggestions?

        • 1. Re: JBCACHE-118
          manik

          Is this a custom cache loader you've written?

          The warning is for people who have written custom cache loaders to the CacheLoader interface prior to JBoss Cache 1.3.x. Since 1.3.x, the interface contract as changed with regards to what a CacheLoader.get() should return.

          Since you're using 1.4.x, I don't think this will apply to you if you have read the CacheLoader interface javadocs and have implemented your cache loader to adhere to this contract.

          Cheers,
          Manik