Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16976

[GSS](7.2.z) remoting subsystem endpoint does not use specified worker

    XMLWordPrintable

Details

    • +
    • Hide

      Change all of the mypool references back to default. Since there is only 1 worker defined, changing the name default does not add any value.

      Show
      Change all of the mypool references back to default. Since there is only 1 worker defined, changing the name default does not add any value.
    • Hide

      $JBOSS_HOME/bin/jboss-cli.sh --file=JBEAP-16976.cli
      $JBOSS_HOME/bin/standalone.sh

      Show
      $JBOSS_HOME/bin/jboss-cli.sh --file= JBEAP-16976 .cli $JBOSS_HOME/bin/standalone.sh

    Description

      remoting subsystem endpoint does not use specified worker

      If you reconfigure the server, changing the default io worker name from 'default' to 'thread-pool' and then update all references that used 'default' and start the server, the remoting endpoint is looking for 'default' when it is configured to look for 'thread-pool'

      ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "remoting")]) - failure description: {
          "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.io.worker.default"],
          "WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.remoting.endpoint is missing [org.wildfly.io.worker.default]"]
      
      embed-server
      /subsystem=io/worker=mypool:add()
      /subsystem=remoting:write-attribute(name=worker, value=mypool)
      /subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=worker,value=mypool)
      /subsystem=undertow/servlet-container=default/setting=websockets:write-attribute(name=worker,value=mypool)
      /subsystem=undertow/server=default-server/https-listener=https:write-attribute(name=worker,value=mypool)
      /subsystem=io/worker=default:remove()
      stop-embed-server
      

      produces:

              <subsystem xmlns="urn:jboss:domain:io:3.0">
                  <worker name="mypool"/>
                  <buffer-pool name="default"/>
              </subsystem>
      
              <subsystem xmlns="urn:jboss:domain:remoting:4.0">
                  <endpoint worker="mypool"/>
                  <http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
              </subsystem>
      ...
                      <http-listener name="default" socket-binding="http" worker="mypool" redirect-socket="https" enable-http2="true"/>
                      <https-listener name="https" socket-binding="https" worker="mypool" security-realm="ApplicationRealm" enable-http2="true"/>
      ...
                  <servlet-container name="default">
                      <jsp-config/>
                      <websockets worker="mypool"/>
                  </servlet-container>
      

      Attachments

        Issue Links

          Activity

            People

              istudens@redhat.com Ivo Studensky
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: