Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21848

Server.xml file on Bamboo Docker image is missing tag for redirectPort

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Docker
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      Server.xml on Bamboo running on docker is produced via /opt/atlassian/etc/server.xml.j2 template file. This file is missing tag for redirectPort, hence it will not be present in server.xml by default.

      server.xml file has to be mounted and this entry added manually, whereas if we download the Unix/Windows distribution, this entry is present in server.xml file by default, sample below

      <Service name="Catalina">
          <Connector
              port="8085"
              protocol="HTTP/1.1"
              maxThreads="150" minSpareThreads="25"
              connectionTimeout="20000"
              disableUploadTimeout="true"
              acceptCount="100"
              enableLookups="false"
              maxHttpHeaderSize="8192"
              useBodyEncodingForURI="true"
              URIEncoding="UTF-8"
              redirectPort="8443">
      

      Steps to Reproduce

      Open /opt/atlassian/etc/server.xml.j2 template file on docker.

      Expected Results

      Entry is present for redirectPort on this file.

      Actual Results

      This file is missing entry for redirectPort.

      Workaround

      Current workaround is to add this entry in the server.xml file manually.

            [BAM-21848] Server.xml file on Bamboo Docker image is missing tag for redirectPort

            Patricio made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 670485 ]
            Shashank Kumar made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 670485 ]
            Shashank Kumar made changes -
            Affects Version/s Original: 8.2.4 [ 101493 ]
            Workflow Original: JAC Bug Workflow v3 [ 4290398 ] New: JAC Suggestion Workflow 3 [ 4290411 ]
            Issue Type Original: Bug [ 1 ] New: Suggestion [ 10000 ]
            Priority Original: Low [ 4 ]
            Status Original: Gathering Impact [ 12072 ] New: Gathering Interest [ 11772 ]
            Wioletta Dys made changes -
            Status Original: Needs Triage [ 10030 ] New: Gathering Impact [ 12072 ]
            Shashank Kumar made changes -
            Description Original: h3. Issue Summary

            Server.xml on Bamboo running on docker is produced via /opt/atlassian/etc/{*}server.xml.j2 template{*} file. This file is missing tag for {*}redirectPort{*}, hence it will not be present in server.xml by default.

            server.xml file has to be mounted and this entry added manually.

            Whereas if we download the Unix/Windows distribution, this entry is present in server.xml file by default, sample below
            {code:xml}
            <Service name="Catalina">
                <Connector
                    port="8085"
                    protocol="HTTP/1.1"
                    maxThreads="150" minSpareThreads="25"
                    connectionTimeout="20000"
                    disableUploadTimeout="true"
                    acceptCount="100"
                    enableLookups="false"
                    maxHttpHeaderSize="8192"
                    useBodyEncodingForURI="true"
                    URIEncoding="UTF-8"
                    redirectPort="8443">
            {code}
            h3. Steps to Reproduce
             #  Open /opt/atlassian/etc/server.xml.j2 template file on docker.

            h3. Expected Results

            Entry is present for redirectPort on this file.
            h3. Actual Results

            This file is missing entry for redirectPort.
            h3. Workaround

            Current workaround is to add this entry in the server.xml file manually.
            New: h3. Issue Summary

            Server.xml on Bamboo running on docker is produced via /opt/atlassian/etc/{*}server.xml.j2 template{*} file. This file is missing tag for {*}redirectPort{*}, hence it will not be present in server.xml by default.

            server.xml file has to be mounted and this entry added manually, whereas if we download the Unix/Windows distribution, this entry is present in server.xml file by default, sample below
            {code:xml}
            <Service name="Catalina">
                <Connector
                    port="8085"
                    protocol="HTTP/1.1"
                    maxThreads="150" minSpareThreads="25"
                    connectionTimeout="20000"
                    disableUploadTimeout="true"
                    acceptCount="100"
                    enableLookups="false"
                    maxHttpHeaderSize="8192"
                    useBodyEncodingForURI="true"
                    URIEncoding="UTF-8"
                    redirectPort="8443">
            {code}
            h3. Steps to Reproduce
            Open /opt/atlassian/etc/server.xml.j2 template file on docker.

            h3. Expected Results

            Entry is present for redirectPort on this file.
            h3. Actual Results

            This file is missing entry for redirectPort.
            h3. Workaround

            Current workaround is to add this entry in the server.xml file manually.
            Shashank Kumar created issue -

              Unassigned Unassigned
              4f38d6bf51c0 Shashank Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: