William Ono created AS7-5113:
--------------------------------
Summary: Unable to add messaging subsystem via CLI
Key: AS7-5113
URL:
https://issues.jboss.org/browse/AS7-5113
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.1.Final, 7.1.0.Final
Reporter: William Ono
The messaging subsystem cannot be added via CLI.
$ ./jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or
'help' for the list of supported commands.
[disconnected /] connect
[standalone@localhost:9999 /] /extension=org.jboss.as.messaging:add()
{"outcome" => "success"}
[standalone@localhost:9999 /] /subsystem=messaging:add()
{
"outcome" => "failed",
"failure-description" => "JBAS014677: Failed to persist
configuration change: JBAS014675: Failed to marshal configuration",
"rolled-back" => true
}
[standalone@localhost:9999 /]
15:54:51,728 ERROR [org.jboss.as.controller.management-operation]
(management-handler-thread - 7) JBAS014607: Failed to persist configuration change:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014675: Failed
to marshal configuration
at
org.jboss.as.controller.persistence.FilePersistenceResource.<init>(FilePersistenceResource.java:62)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.persistence.ConfigurationFilePersistenceResource.<init>(ConfigurationFilePersistenceResource.java:41)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.store(BackupXmlConfigurationPersister.java:80)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:388)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.OperationContextImpl.createPersistenceResource(OperationContextImpl.java:163)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:307)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.finishStep(AbstractOperationContext.java:451)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:438)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:466)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:121)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:139)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:108)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:287)
[jboss-as-protocol-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:487)
[jboss-as-protocol-7.1.1.Final.jar:7.1.1.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException:
JBAS014680: Failed to write configuration
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:122)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.persistence.FilePersistenceResource.<init>(FilePersistenceResource.java:55)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
... 23 more
Caused by: java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.asPropertyList(ModelValue.java:100)
[jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at org.jboss.dmr.ModelNode.asPropertyList(ModelNode.java:360)
[jboss-dmr-1.1.1.Final.jar:1.1.1.Final]
at
org.jboss.as.messaging.MessagingSubsystemParser.writeContent(MessagingSubsystemParser.java:1392)
at
org.jboss.as.messaging.MessagingSubsystemParser.writeContent(MessagingSubsystemParser.java:119)
at org.jboss.as.server.parsing.StandaloneXml.writeServerProfile(StandaloneXml.java:1041)
at org.jboss.as.server.parsing.StandaloneXml.writeContent(StandaloneXml.java:959)
at org.jboss.as.server.parsing.StandaloneXml.writeContent(StandaloneXml.java:100)
at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:88)
[staxmapper-1.1.0.Final.jar:1.1.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:83)
[staxmapper-1.1.0.Final.jar:1.1.0.Final]
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:116)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
... 24 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira