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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931611#3931611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931611


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to