2 Replies Latest reply on Sep 5, 2006 3:21 PM by mitra123

    Cannot start JDBC cacheloader

    mitra123

      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.