Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-484

The deadlock-detection-spin attribute is not allowed in Client-Server configuration.

XMLWordPrintable

      When attempting to define the `deadlock-detection-spin` attribute in Client-Server mode an error is thrown:

      Standalone.xml:

      <local-cache name="default" start="EAGER" deadlock-detection-spin="1000" >
          <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/>
          <transaction mode="NON_XA"/>
      </local-cache>
      

      The following error is thrown:

      16:16:13,674 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
      	at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)
      	at org.jboss.as.server.ServerService.boot(ServerService.java:356)
      	at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[172,17]
      Message: WFLYCTL0197: Unexpected attribute 'deadlock-detection-spin' encountered
      	at org.jboss.as.controller.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:117)
      	at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.parseCacheAttribute(InfinispanSubsystemXMLReader.java:649)
      	at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.parseLocalCache(InfinispanSubsystemXMLReader.java:715)
      	at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.parseContainer(InfinispanSubsystemXMLReader.java:244)
      	at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.readElement(InfinispanSubsystemXMLReader.java:94)
      	at org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.readElement(InfinispanSubsystemXMLReader.java:67)
      	at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
      	at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
      	at org.jboss.as.server.parsing.StandaloneXml_4.parseServerProfile(StandaloneXml_4.java:546)
      	at org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.java:242)
      	at org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:141)
      	at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103)
      	at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49)
      	at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
      	at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
      	at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
      	... 3 more
      
      16:16:13,675 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      

              Unassigned Unassigned
              rhn-support-chuffman Christian Huffman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: