[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-27 Thread nperidont
Hi, I get the same pb and afer looking at the source in cvs it seems that old version of TreeCache make the preload before configuring the LRUPolicy. And cause the npe. It seems to be corrected in the TreeCache.java revision 1.6 in cvs Try to update your TreeCache version Regards, Nicolas

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-07 Thread lac_raz
I tried to configure the JDBCCacheLoader with the next params : org.jboss.cache.loader.JDBCCacheLoader true / false false cache.jdbc.table.name=subscribers cache.jdbc.fqn.column=MSISDN

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-07 Thread [EMAIL PROTECTED]
Look into your table schema, check for a PARENT column View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3873065#3873065 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3873065

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-07 Thread lac_raz
when using LRUPolicy as eviction policy I get the next exception : Caused by: java.lang.NullPointerException at org.jboss.cache.eviction.LRUPolicy.nodeVisited(LRUPolicy.java:100) at org.jboss.cache.TreeCache.notifyNodeVisisted(TreeCache.java:3208) at

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-07 Thread lac_raz
when using LRUPolicy as eviction policy I get the next exception : Caused by: java.lang.NullPointerException at org.jboss.cache.eviction.LRUPolicy.nodeVisited(LRUPolicy.java:100) at org.jboss.cache.TreeCache.notifyNodeVisisted(TreeCache.java:3208) at

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-06 Thread lac_raz
OK , I guess I can generate some workaround Thanks :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872829#3872829 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872829

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-06 Thread [EMAIL PROTECTED]
Yes, I think you could easily create a subclass and fetch the data source from there View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872831#3872831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872831

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-05 Thread [EMAIL PROTECTED]
Currently scheduled for 1.3, but it may spill over to 1.4, b/c this is a low priority issue View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872754#3872754 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872754

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-04 Thread lac_raz
10x :-) I need to retrieve values from my Data Source into the cache every 5 minutes (because my DataSource is changed from other source) . Can I configure this in my xml configuration file ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872519#3872519

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-04 Thread [EMAIL PROTECTED]
No, but I will add a method soon to configure JDBCCacheLoader from a DataSource. You'd be able to set it every 5 minutes I guess View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872527#3872527 Reply to the post :

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-04 Thread lac_raz
Great !!! :-) will it be on 1.3 release ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872530#3872530 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872530 --- SF

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-03 Thread lac_raz
Thanks for your reply :-) So lets say I have table named USER , with columns PHONE_NUMBER , ADDRESS and ID (as key). Then the CacheLoaderConfig will look like this ? cache.jdbc.table.name=USER cache.jdbc.table.create=true cache.jdbc.table.drop=true cache.jdbc.fqn.column=ID

[JBoss-user] [JBossCache] - Re: JDBCCacheLoader feature

2005-04-03 Thread [EMAIL PROTECTED]
looks right, I wouldn't drop the table though View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3872484#3872484 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3872484 --- SF