Brian Stansberry created AS7-4177:
-------------------------------------
Summary: Add handler for /host=xxx/server=yyy/interface=zzz tries to install
a runtime service
Key: AS7-4177
URL:
https://issues.jboss.org/browse/AS7-4177
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.1.Final
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Fix For: 7.1.2.Final
The /host=xxx/server=yyy/interface=zzz resource is a configuration-only resource inside
the Host Controller, but when the add handlers for it run, they are attempting to install
runtime services. The runtime services should only be installed in the server process.
This leads to boot failures if different server configs declare an interface with the same
name (which would be the norm if an server-level interface config is declared at all):
[Host Controller] 13:55:33,400 ERROR [org.jboss.as.controller.management-operation]
(Controller Boot Thread) JBAS014612: Operation ("add") failed - address: ([
[Host Controller] ("host" => "master"),
[Host Controller] ("server-config" => "server-two"),
[Host Controller] ("interface" => "public")
[Host Controller] ]): org.jboss.msc.service.DuplicateServiceException: Service
jboss.network.public is already registered
[Host Controller] at
org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:154)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at
org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:227)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at
org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:560)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at
org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:201)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at
org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2228)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at
org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:307)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
[Host Controller] at
org.jboss.as.controller.OperationContextImpl$ContextServiceBuilder.install(OperationContextImpl.java:955)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
[Host Controller] at
org.jboss.as.server.services.net.SpecifiedInterfaceAddHandler.performRuntime(SpecifiedInterfaceAddHandler.java:56)
[Host Controller] at
org.jboss.as.controller.operations.common.InterfaceAddHandler.performRuntime(InterfaceAddHandler.java:110)
[jboss-as-controller-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
--
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