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

Can't load http://localhost:8080

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
    • Environment:
      Windows 10 Home 64bit - all browsers
    • Similar Issues:

      Description

      Hi,

      I just downloaded JENKINS in my PC and executed:

      java -jar jenkins.war.

      I opened the browser and and went to http://localhost:8080.

      Jenkins have not loaded. Does anyone know how to solve this problem?

      I tried to switch off my AV and Firewall and it didn't help.

      LOG:

      c:\Jenkins>java -jar jenkins.war
      Running from: C:\Jenkins\jenkins.war
      webroot: $user.home/.jenkins
      2019-12-06 21:34:18.746+0000 [id=1] INFO org.eclipse.jetty.util.log.Log#initialized: Logging initialized @2096ms to org.eclipse.jetty.util.log.JavaUtilLog
      2019-12-06 21:34:18.902+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
      2019-12-06 21:34:41.772+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
      2019-12-06 21:34:41.881+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-9.4.z-SNAPSHOT; built: 2019-05-02T00:04:53.875Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_231-b11
      2019-12-06 21:34:42.960+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
      2019-12-06 21:34:43.054+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0
      2019-12-06 21:34:43.054+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults
      2019-12-06 21:34:43.069+0000 [id=1] INFO o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 660000ms
      Jenkins home directory: C:\Users\marti\.jenkins found at: $user.home/.jenkins
      2019-12-06 21:34:44.192+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@12bf0e2

      {Jenkins v2.190.2,/,[file:///C:/Users/marti/.jenkins/war/,AVAILABLE]} {C:\Users\marti\.jenkins\war}

      2019-12-06 21:34:44.239+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@40be71

      {HTTP/1.1,[http/1.1]} {0.0.0.0:8080}

      2019-12-06 21:34:44.239+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started @27590ms
      2019-12-06 21:34:44.239+0000 [id=20] INFO winstone.Logger#logInternal: Winstone Servlet Engine v4.0 running: controlPort=disabled
      2019-12-06 21:34:47.145+0000 [id=27] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
      2019-12-06 21:34:47.301+0000 [id=31] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
      2019-12-06 21:34:50.084+0000 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
      2019-12-06 21:34:50.084+0000 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
      2019-12-06 21:34:50.100+0000 [id=33] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
      2019-12-06 21:34:50.573+0000 [id=29] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
      2019-12-06 21:34:50.620+0000 [id=53] INFO hudson.model.AsyncPeriodicWork$1#run: Started Download metadata
      2019-12-06 21:34:50.636+0000 [id=53] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server
      2019-12-06 21:34:52.034+0000 [id=30] INFO o.s.c.s.AbstractApplicationContext#prepareRefresh: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@4b0734: display name [Root WebApplicationContext]; startup date [Fri Dec 06 22:34:52 CET 2019]; root of context hierarchy
      2019-12-06 21:34:52.035+0000 [id=30] INFO o.s.c.s.AbstractApplicationContext#obtainFreshBeanFactory: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@4b0734]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1c154ee
      2019-12-06 21:34:52.063+0000 [id=30] INFO o.s.b.f.s.DefaultListableBeanFactory#preInstantiateSingletons: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1c154ee: defining beans [authenticationManager]; root of factory hierarchy
      2019-12-06 21:34:52.527+0000 [id=30] INFO o.s.c.s.AbstractApplicationContext#prepareRefresh: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@1f01099: display name [Root WebApplicationContext]; startup date [Fri Dec 06 22:34:52 CET 2019]; root of context hierarchy
      2019-12-06 21:34:52.528+0000 [id=30] INFO o.s.c.s.AbstractApplicationContext#obtainFreshBeanFactory: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@1f01099]: org.springframework.beans.factory.support.DefaultListableBeanFactory@6fd4ce
      2019-12-06 21:34:52.533+0000 [id=30] INFO o.s.b.f.s.DefaultListableBeanFactory#preInstantiateSingletons: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6fd4ce: defining beans [filter,legacy]; root of factory hierarchy
      2019-12-06 21:34:52.763+0000 [id=30] INFO jenkins.install.SetupWizard#init:

      *************************************************************
      *************************************************************
      *************************************************************

      Jenkins initial setup is required. An admin user has been created and a password generated.
      Please use the following password to proceed to installation:

      87f693dfe444474a8da0ab99028da123  

      This may also be found at: C:\Users\marti\.jenkins\secrets\initialAdminPassword

      *************************************************************
      *************************************************************
      *************************************************************

      2019-12-06 21:35:17.919+0000 [id=53] INFO hudson.model.UpdateSite#updateData: Obtained the latest update center data file for UpdateSource default
      2019-12-06 21:35:18.693+0000 [id=30] INFO hudson.model.UpdateSite#updateData: Obtained the latest update center data file for UpdateSource default
      2019-12-06 21:35:20.511+0000 [id=16] INFO o.k.s.LocaleDrivenResourceProvider#getLocaleDrivenResourceProviders: Registered LocaleDrivenResourceProvider: jenkins.MetaLocaleDrivenResourceProvider@1722db0
      2019-12-06 21:35:19.076+0000 [id=53] INFO h.m.DownloadService$Downloadable#load: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
      2019-12-06 21:35:31.328+0000 [id=53] INFO hudson.util.Retrier#start: Performed the action check updates server successfully at the attempt #1
      2019-12-06 21:35:31.343+0000 [id=53] INFO hudson.model.AsyncPeriodicWork$1#run: Finished Download metadata. 40á721 ms
      2019-12-06 21:35:31.516+0000 [id=21] INFO winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty

      c:\Jenkins>
      c:\Jenkins>

       

        Attachments

          Activity

          Hide
          jcordoba Jorge Cordoba added a comment -

          Hello Martino Holus, can you tell me what happens if you run this 

          mvn -am -pl war,bom -DskipTests -Dspotbugs.skip clean install

          instead of 

          java -jar jenkins.war
          

          According to the [CONTRIBUTING.md|https://github.com/jenkinsci/jenkins/blob/master/CONTRIBUTING.md] file, that should be the command executed to run Jenkins with a .war file without running tests.

          Let me know if this fixes the problem.

           

          Show
          jcordoba Jorge Cordoba added a comment - Hello Martino Holus , can you tell me what happens if you run this  mvn -am -pl war,bom -DskipTests -Dspotbugs.skip clean install instead of  java -jar jenkins.war According to the [CONTRIBUTING.md| https://github.com/jenkinsci/jenkins/blob/master/CONTRIBUTING.md ] file, that should be the command executed to run Jenkins with a .war file without running tests. Let me know if this fixes the problem.  
          Hide
          efres1775g Martino Holus added a comment -

           

           

          This is what happens. 

          Show
          efres1775g Martino Holus added a comment -     This is what happens. 
          Hide
          efres1775g Martino Holus added a comment -

          Somehow. I have successfully Get into Jenkins page by using this link: http://localhost:8080/jenkins.

          I input my password and then clicked on "Continue"

          It transferred me to the page which is not available. 

          In chrome for instance:

          "This web is not available"
          ERR_CONNECTION_REFUSED
           

          Show
          efres1775g Martino Holus added a comment - Somehow. I have successfully Get into Jenkins page by using this link:  http://localhost:8080/jenkins . I input my password and then clicked on "Continue" It transferred me to the page which is not available.  In chrome for instance: "This web is not available" ERR_CONNECTION_REFUSED  

            People

            • Assignee:
              jcordoba Jorge Cordoba
              Reporter:
              efres1775g Martino Holus
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: