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

Custom root app is causing issues when root location is still on

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 7.1.0.ER2
    • mod_cluster
    • None

    Description

      Deploying a custom root app is causing issues when root location is still on.
      Root application seems to have priority to the location. However, when unregistering node(shutdown), node is sending remove-app request twice.

      2017-07-24 14:50:56,393 INFO  [io.undertow] (default task-25) UT005047: Unregistering context /, from node jboss-eap-7.1-1
      2017-07-24 14:50:56,439 INFO  [io.undertow] (default task-28) UT005047: Unregistering context /, from node jboss-eap-7.1-1
      

      Once for the app and once for the location.
      This is throwing error

      2017-07-24 14:50:56,441 ERROR [io.undertow] (default task-28) UT005043: Error in processing MCMP commands: Type:MEM, Mess: MEM: Can't update or insert context
      

      Reproduce:

      1. Set up undertow balancer with one worker
      2. Deploy a custom root app to the worker
         //jboss-web.xml
        <jboss-web>
            <context-root>/</context-root>
        </jboss-web>
      3. Turn off the worker and watch the logs

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              bsikora Bogdan Sikora (Inactive)
              Jan Kašík Jan Kašík
              Jan Kašík Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: