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

Unable to install jenkins in windows 7

XMLWordPrintable

      Hi Team, 

       

      I am unable to install 2.32.3 war file in windows. 

       

      I had downloaded the file from windows and trying to install by following the steps. 

       

      Prerequisites: 

      Java 8 Update 121

      Jenkins war 2.32.3 

       

      I open cmd and use the below command  

      java -jar jenkins.war 

       

      But the installation fails and says "Jenkins stopped". The below is the error and I am not able ot correlate what is the error . WOuld be great if you can suggest on the same. 

       

      ERROR SNIPPET:

       

      ←[33mMar 27, 2017 11:15:10 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: FAILED ServerConnector@27aa33{HTTP/1.1}{0.0.0.0:8080}: java.net.BindEx
      eption: Address already in use: bind
      java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Unknown Source)
      at sun.nio.ch.Net.bind(Unknown Source)
      at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:3
      1)
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNe
      workConnector.java:80)
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.jav
      :236)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLif
      Cycle.java:68)
      at org.eclipse.jetty.server.Server.doStart(Server.java:366)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLif
      Cycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)

      ←[0m←[33mMar 27, 2017 11:15:10 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: FAILED org.eclipse.jetty.server.Server@1dc9a9f: java.net.BindException
      Address already in use: bind
      java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Unknown Source)
      at sun.nio.ch.Net.bind(Unknown Source)
      at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:3
      1)
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNe
      workConnector.java:80)
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.jav
      :236)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLif
      Cycle.java:68)
      at org.eclipse.jetty.server.Server.doStart(Server.java:366)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLif
      Cycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)

      ←[0mMar 27, 2017 11:15:10 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Stopped ServerConnector@27aa33{HTTP/1.1}{0.0.0.0:8080}
      Mar 27, 2017 11:15:10 AM hudson.WebAppMain contextDestroyed
      INFO: Shutting down a Jenkins instance that was still starting up
      java.lang.Throwable: reason
      at hudson.WebAppMain.contextDestroyed(WebAppMain.java:384)
      at org.eclipse.jetty.server.handler.ContextHandler.callContextDestroyed
      ContextHandler.java:808)
      at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed
      ServletContextHandler.java:457)
      at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandle
      .java:842)
      at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContex
      Handler.java:215)
      at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:529

      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLife
      ycle.java:89)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLi
      eCycle.java:143)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(Container
      ifeCycle.java:162)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHand
      er.java:73)
      at org.eclipse.jetty.server.Server.doStop(Server.java:456)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLife
      ycle.java:89)
      at winstone.Launcher.shutdown(Launcher.java:305)
      at winstone.Launcher.<init>(Launcher.java:165)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)

      Mar 27, 2017 11:15:10 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Stopped w.@d86a6f{/,file:/C:/Users/venkita_v/.jenkins/war/,UNAVAILABLE}{C
      \Users\venkita_v\.jenkins\war}
      Mar 27, 2017 11:15:10 AM winstone.Logger logInternal
      INFO: Winstone shutdown successfully
      ←[31mMar 27, 2017 11:15:10 AM winstone.Logger logInternal
      SEVERE: Container startup failed
      java.io.IOException: Failed to start Jetty
      at winstone.Launcher.<init>(Launcher.java:154)
      at winstone.Launcher.main(Launcher.java:352)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at Main._main(Main.java:264)
      at Main.main(Main.java:112)
      Caused by: java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Unknown Source)
      at sun.nio.ch.Net.bind(Unknown Source)
      at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
      at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:3
      1)
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNe
      workConnector.java:80)
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.jav
      :236)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLif
      Cycle.java:68)
      at org.eclipse.jetty.server.Server.doStart(Server.java:366)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLif
      Cycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      ... 7 more

      ←[0m←[31mMar 27, 2017 11:15:12 AM hudson.util.BootFailure publish
      SEVERE: Failed to initialize Jenkins
      hudson.util.HudsonFailedToLoad: java.lang.InterruptedException
      at hudson.WebAppMain$3.run(WebAppMain.java:248)
      Caused by: java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Unknown Source)
      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:267)
      at jenkins.InitReactorRunner.run(InitReactorRunner.java:47)
      at jenkins.model.Jenkins.executeReactor(Jenkins.java:1109)
      at jenkins.model.Jenkins.<init>(Jenkins.java:925)
      at hudson.model.Hudson.<init>(Hudson.java:85)
      at hudson.model.Hudson.<init>(Hudson.java:81)
      at hudson.WebAppMain$3.run(WebAppMain.java:231)

      ←[0mMar 27, 2017 11:15:13 AM jenkins.model.Jenkins cleanUp
      INFO: Stopping Jenkins
      Mar 27, 2017 11:15:13 AM jenkins.model.Jenkins$21 onAttained
      INFO: Started termination
      ←[31mMar 27, 2017 11:15:13 AM jenkins.model.Jenkins$21 onTaskFailed
      SEVERE: Failed IOHubProvider.cleanUp
      java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.IOHub
      rovider
      at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
      at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      at jenkins.model.Jenkins$20.execute(Jenkins.java:3240)
      at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139

      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128)
      at jenkins.model.Jenkins$20.execute(Jenkins.java:3240)
      at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139

      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:263)
      at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3237)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3159)
      at hudson.WebAppMain$3.run(WebAppMain.java:252)

      ←[0m←[31mMar 27, 2017 11:15:13 AM jenkins.model.Jenkins$21 onTaskFailed
      SEVERE: Failed NioChannelSelector.cleanUp
      java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.NioCh
      nnelSelector
      at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
      at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      at jenkins.model.Jenkins$20.execute(Jenkins.java:3240)
      at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139

      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:128)
      at jenkins.model.Jenkins$20.execute(Jenkins.java:3240)
      at org.jvnet.hudson.reactor.Reactor$Node.runIfPossible(Reactor.java:139

      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:263)
      at jenkins.model.Jenkins._cleanUpRunTerminators(Jenkins.java:3237)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3159)
      at hudson.WebAppMain$3.run(WebAppMain.java:252)

      ←[0mMar 27, 2017 11:15:13 AM jenkins.model.Jenkins$21 onAttained
      INFO: Completed termination
      Mar 27, 2017 11:15:13 AM jenkins.model.Jenkins _cleanUpDisconnectComputers
      INFO: Starting node disconnection
      Mar 27, 2017 11:15:13 AM jenkins.model.Jenkins _cleanUpShutdownPluginManager
      INFO: Stopping plugin manager
      Mar 27, 2017 11:15:13 AM jenkins.model.Jenkins _cleanUpPersistQueue
      INFO: Persisting build queue
      Mar 27, 2017 11:15:14 AM jenkins.model.Jenkins cleanUp

       

            Unassigned Unassigned
            venkidhadha venki v
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: