0 Replies Latest reply on Mar 21, 2006 10:58 AM by Quirin Maier

    FileCacheLoader using JBossProperties not possible?

    Quirin Maier Newbie

      Hello,

      isn't it possible to use JbossProperties (see: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProperties) in the FileCacheLoader ?

      config snippet from my TreeCache MBean:
      
       <attribute name="CacheLoaderClass">org.jboss.cache.loader.FileCacheLoader</attribute>
       <attribute name="CacheLoaderConfig" replace="false">
       location=${jboss.server.data.dir}
       </attribute>
      


      Using the "${jboss.server.data.dir}" as location results in:

      16:02:32,100 WARN [org.jboss.system.ServiceController] Problem creating service jboss.cache:service=TreeCache
      java.io.FileNotFoundException: ${jboss.server.data.dir}
       at org.jboss.cache.loader.FileCacheLoader.create(FileCacheLoader.java:48)
       at org.jboss.cache.loader.AsyncCacheLoader.create(AsyncCacheLoader.java:316)
      


      btw: I'm using jboss 3.2.3 with jboss-cache-1.2.4

      Thanx in advance for any reply!

      Q.