6 Replies Latest reply on Dec 6, 2013 9:11 AM by harryco

    Operational override for write-delay (system-property)


      Hi all,


      I'm failing to get this xml element to validate within a cache config.

      I'm using Coherence 3.7.1

      <write-delay system-property="myproperty.override.write-delay" >10s</write-delay>.

      the idea is to get the write-delay value atruntime through a system-property (-Dmyproperty.override.write-delay=5s for ex.)

      I'm getting the following failure

      cvc-type.3.1.1: Element 'write-delay' is a simple type, so it cannot have attributes, excepting those whose namespace name is identical to 'http://www.w3.org/2001/XMLSchema-instance' and whose [local name] is one of 'type', 'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the attribute, 'system-property' was found.line 41XML Problem

      Do you know if the override is valid at that location? The documentation says YES.

      What am I doing wrongly?