]
Kabir Khan commented on AS7-2140:
---------------------------------
Yeah, it looks fine to me on master
Command :reload breaks standalone server, IllegalArgumentException
------------------------------------------------------------------
Key: AS7-2140
URL:
https://issues.jboss.org/browse/AS7-2140
Project: Application Server 7
Issue Type: Bug
Components: CLI, Server
Affects Versions: 7.1.0.Alpha1
Reporter: Rostislav Svoboda
Assignee: Kabir Khan
Fix For: 7.1.0.Beta1
Invoking just :reload command in CLI breaks standalone server instance, no service is
running and you must press Ctrl+C or kill java process.
Tested with latest build from source codes pulled on 2011-10-18, I just started server
and invoked reload command.
Invoking '~/TESTING/jboss-as7/bin/jboss-admin.sh -c controller=10.34.3.154
--command=:reload' caused this on server side:
{code}
14:34:00,620 INFO [jacorb.orb] ORB going down...
14:34:00,628 INFO [jacorb.orb.iiop] Listener exited
14:34:00,629 INFO [jacorb.orb] ORB shutdown complete
14:34:00,629 INFO [jacorb.orb] ORB run, exit
14:34:00,630 INFO [org.hornetq.core.server.impl.HornetQServerImpl] HornetQ Server
version 2.2.7.Final (HQ_2_2_7_FINAL_AS7, 121) [036ed48f-f980-11e0-8e7f-42a81bcb9cc4]
stopped
14:34:00,636 INFO [org.jboss.as.mail.extension.MailSessionAdd] Unbound mail session
[java:jboss/mail/Default]
14:34:00,637 INFO [org.jboss.as.connector.subsystems.datasources] JBAS010409: Unbound
data source [java:jboss/datasources/ExampleDS]
14:34:00,649 INFO [org.jboss.as] JBoss AS 7.1.0.Alpha2-SNAPSHOT "Ahoy!"
stopped in 76ms
14:34:00,650 INFO [org.jboss.as] JBoss AS 7.1.0.Alpha2-SNAPSHOT "Ahoy!"
starting
14:34:00,722 ERROR [org.jboss.as.controller] Failed to persist configuration change:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed to marshal
configuration
at
org.jboss.as.controller.persistence.FilePersistenceResource.<init>(FilePersistenceResource.java:62)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.persistence.ConfigurationFilePersistenceResource.<init>(ConfigurationFilePersistenceResource.java:39)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.persistence.BackupXmlConfigurationPersister.store(BackupXmlConfigurationPersister.java:80)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.writeModel(ModelControllerImpl.java:282)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:312)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:219)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:440)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:285)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:219)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.operations.global.WriteAttributeHandlers$WriteAttributeOperationHandler.modelChanged(WriteAttributeHandlers.java:123)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.operations.global.WriteAttributeHandlers$WriteAttributeOperationHandler.execute(WriteAttributeHandlers.java:90)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.operations.global.GlobalOperationHandlers$WriteAttributeHandler.execute(GlobalOperationHandlers.java:487)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.executeStep(OperationContextImpl.java:386)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.doCompleteStep(OperationContextImpl.java:285)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.OperationContextImpl.completeStep(OperationContextImpl.java:219)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:167)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:173)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.server.ServerService.boot(ServerService.java:208)
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:168)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.server.ServerService.boot(ServerService.java:197)
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:133)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
Caused by: org.jboss.as.controller.persistence.ConfigurationPersistenceException: Failed
to write configuration
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:109)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.persistence.FilePersistenceResource.<init>(FilePersistenceResource.java:55)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 21 more
Caused by: java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:124)
[jboss-dmr-1.0.0.Final.jar:1.0.0.Final]
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1085)
[jboss-dmr-1.0.0.Final.jar:1.0.0.Final]
at
org.jboss.as.controller.parsing.StandaloneXml.writeServerProfile(StandaloneXml.java:563)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.parsing.StandaloneXml.writeContent(StandaloneXml.java:499)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.as.controller.parsing.StandaloneXml.writeContent(StandaloneXml.java:82)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at org.jboss.staxmapper.XMLMapperImpl.doDeparse(XMLMapperImpl.java:78)
[staxmapper-1.0.0.Final.jar:1.0.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.deparseDocument(XMLMapperImpl.java:73)
[staxmapper-1.0.0.Final.jar:1.0.0.Final]
at
org.jboss.as.controller.persistence.AbstractConfigurationPersister.marshallAsXml(AbstractConfigurationPersister.java:103)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
... 22 more
14:34:00,724 INFO [org.jboss.as] JBoss AS 7.1.0.Alpha2-SNAPSHOT "Ahoy!"
started in 74ms - Started 18 of 19 services (1 services are passive or on-demand)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: