[
https://issues.jboss.org/browse/AS7-2140?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry reassigned AS7-2140:
-------------------------------------
Assignee: Kabir Khan (was: Brian Stansberry)
Kabir, this is the reload one I mentioned (I think) in IM.
Now reload fails like this, but perhaps if we got past this the error Rostislav reported
would still be there?
15:59:44,319 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed
to start service jboss.raactivator: org.jboss.msc.service.StartException in service
jboss.raactivator: Failed to start RA deployment [hornetq-ra]
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:99)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_26]
at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]
Caused by: org.jboss.jca.deployers.common.DeployException: IJ020056: Deployment failed:
file://RaActivatorhornetq-ra
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:2144)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1020)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator.doDeploy(ResourceAdapterActivatorService.java:142)
at
org.jboss.as.connector.services.ResourceAdapterActivatorService.start(ResourceAdapterActivatorService.java:94)
... 5 more
Caused by: org.jboss.msc.service.DuplicateServiceException: Service
jboss.connector.connection-factory.java:/JmsXA is already registered
at
org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:226)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307)
[jboss-msc-1.0.1.GA.jar:1.0.1.GA]
at
org.jboss.as.connector.metadata.deployment.AbstractResourceAdapterDeploymentService$AbstractAS7RaDeployer.bindConnectionFactory(AbstractResourceAdapterDeploymentService.java:235)
at
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1925)
... 8 more
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:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira