Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4177

Add handler for /host=xxx/server=yyy/interface=zzz tries to install a runtime service

    XMLWordPrintable

Details

    Description

      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]

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: