[jboss-user] [JBossCache] - Cannot start JDBC cacheloader

mitra123 do-not-reply at jboss.com
Mon Sep 4 00:37:05 EDT 2006


I am currently trying to write a jbosscache test program, I want to connect to mysql using JDBCCacheLoader.
I have read all the documentations and how to configure the cacheloader in the XML configuration file. But for some reason my program doesn't like the XML entries.
I have tried different combinations, but I get an error every time.
The first thing is that it seems in the XML file the first property for the JDBCCacheLoader is read and that's it. Here is the error that I currently received when I run my program:

Missing required property: cache.jdbc.url

Before this error I was getting an error for the JDBC driver so I moved the  cache.jdbc.driver=com.mysql.jdbc.Driver to be the first property and then moved the cache.jdbc.url to be the second entry and hence the error that I am getting.
I have even tried to specify the  tag for each entry (to create the table, etc...)
I am using the configuration file which is under etc folder, the file is called,
replSync-ClusteredCacheLoader-service.xml

I am sorry for the long message but I haven't been able to figure this out yet.
Any help would be appreciated.

Thanks.


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

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



More information about the jboss-user mailing list