[jboss-jira] [JBoss JIRA] Commented: (AS7-947) server:reload() exception

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sun Jun 19 09:51:23 EDT 2011


    [ https://issues.jboss.org/browse/AS7-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609604#comment-12609604 ] 

Brian Stansberry commented on AS7-947:
--------------------------------------

The reload operation is not supported for a server in a managed domain at this point; it only works for a standalone server. Use restart. We'll look at adding reload support for domain managed servers in 7.1.

In a standalone server, reload() works by re-parsing the persisted standalone.xml and rebuilding the server using the commands generated by the parser. In a domain managed server, there is no persisted server configuration to reparse. So we'd need to find an alternative mechanism.

> server:reload() exception
> -------------------------
>
>                 Key: AS7-947
>                 URL: https://issues.jboss.org/browse/AS7-947
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Heiko Braun
>            Assignee: Brian Stansberry
>             Fix For: 7.1.0.Beta2
>
>
> Reloading yields an exception:
> /host=local/server=server-one:reload
> {noformat}
> [Host Controller] 12:32:50,188 ERROR [org.jboss.as.host.controller] (pool-1-thread-24) Could not start server Server:server-one: java.lang.IllegalArgumentException: A node is already registered at '(server => server-one)'
> [Host Controller] 	at org.jboss.as.controller.registry.NodeSubregistry.registerProxyController(NodeSubregistry.java:89) [jboss-as-controller-7.0.0.Beta4-SNAPSHOT.jar:7.0.0.Beta4-SNAPSHOT]
> {noformat}
> A second operation request results in "broken pipe":
> {noformat}
> [Host Controller] 12:33:03,025 ERROR [org.jboss.as.protocol] (ModelControllerClient-thread - 1) Failed to close resource org.jboss.as.protocol.SimpleByteDataOutput at 37c398e: java.net.SocketException: Broken pipe
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list