Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35981

Unable to get past initial admin password screen on Tomcat 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Environment:
      Oracle JDK 8 with Tomcat 8.5.x
    • Similar Issues:

      Description

      When installing Jenkins 2.8 onto Tomcat 8, it is really difficult to get past the initial admin password screen.

      Looking further into this, it appears that this is because the from parameter defaults to /jenkins and not /jenkins/, and the FORCE_SETUP_WIZARD_FILTER in SetupWizard will fail to realize that it should display the setupWizard. Potentially the if check should be enhanced to:

      if ((req.getContextPath() + "/").equals(req.getRequestURI()) || req.getContextPath().equals(req.getRequestURI()) {
      

        Attachments

          Issue Links

            Activity

            Hide
            aldaris aldaris added a comment -

            The workaround is to change the URL before entering the initial admin password, so that the from parameter has the value of "%2Fjenkins%2F".

            Show
            aldaris aldaris added a comment - The workaround is to change the URL before entering the initial admin password, so that the from parameter has the value of "%2Fjenkins%2F".
            Hide
            danielbeck Daniel Beck added a comment -

            The fix is in 2.11.

            Show
            danielbeck Daniel Beck added a comment - The fix is in 2.11.
            Hide
            danielbeck Daniel Beck added a comment -

            Seems related to JENKINS-14313.

            Show
            danielbeck Daniel Beck added a comment - Seems related to JENKINS-14313 .

              People

              • Assignee:
                Unassigned
                Reporter:
                aldaris aldaris
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: