]
Work on ISPN-9326 started by Gustavo Fernandes.
-----------------------------------------------
Marshall error when using <modules> config in the server
--------------------------------------------------------
Key: ISPN-9326
URL:
https://issues.jboss.org/browse/ISPN-9326
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 9.3.0.Final, 9.2.5.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
{noformat}
10:14:23,271 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 2) WFLYCTL0008: Failed to persist configuration change:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0084: Failed
to marshal configuration
at
org.jboss.as.controller.persistence.AbstractFilePersistenceResource.<init>(AbstractFilePersistenceResource.java:49)
at
org.jboss.as.controller.persistence.ConfigurationFilePersistenceResource.<init>(ConfigurationFilePersistenceResource.java:45)
at
org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.store(BackupXmlConfigurationPersister.java:119)
at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:696)
at
org.jboss.as.controller.OperationContextImpl.createPersistenceResource(OperationContextImpl.java:532)
at
org.jboss.as.controller.AbstractOperationContext.executeDoneStage(AbstractOperationContext.java:801)
at
org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:752)
at
org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
at
org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1402)
at
org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
at
org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:217)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:137)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:161)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:157)
at
org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
at
org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException:
WFLYCTL0089: Failed to write configuration
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:100)
at
org.jboss.as.controller.persistence.AbstractFilePersistenceResource.<init>(AbstractFilePersistenceResource.java:42)
... 28 more
Caused by: java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getChild(ModelValue.java:115)
at org.jboss.dmr.PropertyModelValue.getChild(PropertyModelValue.java:120)
at org.jboss.dmr.ModelNode.get(ModelNode.java:976)
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLWriter.writeContent(InfinispanSubsystemXMLWriter.java:94)
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLWriter.writeContent(InfinispanSubsystemXMLWriter.java:50)
at
org.jboss.as.server.parsing.StandaloneXml_5.writeServerProfile(StandaloneXml_5.java:776)
at org.jboss.as.server.parsing.StandaloneXml_5.writeContent(StandaloneXml_5.java:698)
at org.jboss.as.server.parsing.StandaloneXml.writeContent(StandaloneXml.java:116)
at org.jboss.as.server.parsing.StandaloneXml.writeContent(StandaloneXml.java:49)
at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:96)
at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:91)
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:94)
... 29 more
{noformat}