1 Reply Latest reply on Jan 12, 2009 2:44 PM by jason.greene

    replSync-service.xml does not conform to XML Schema

      I noticed that the bundled replSync-service.xml configuration file does not conform to the JBC 3.0 XML Schema and is being ignored on startup. It appears that the bundled configuration is assuming that JBC is being dependency injected by the JBoss Microcontainer instead of as a POJO.

      Am I missing something?

      Code used:

      PojoCacheFactory.createCache("replSync-service.xml", true);


      Log Message:
      2009-01-12 14:04:48,532 ERROR main org.jboss.cache.config.parsing.RootElementBuilder Configuration warning: cvc-elt.1: Cannot find the declaration of element 'server'.
      2009-01-12 14:04:48,533 ERROR main org.jboss.cache.config.parsing.RootElementBuilder org.jboss.cache.config.ConfigurationException: Incorrect configuration file. Use '-Djbosscache.config.validate=false' to disable validation.