Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4513

remoting subsystem endpoint does not use specified worker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • None
    • Remoting
    • 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
    • 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.

      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>
      

              istudens@redhat.com Ivo Studensky
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: