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

I am trying to install jenkins in windows having jdk 1.8.0 already installed,but still facing lots of warnings,and exceptions in it.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Not A Defect
    • Component/s: core
    • Labels:
      None
    • Environment:
      jenkins version- 2.60.3,windows 7 and 8.1,web browser-chrome,java version jdk 1.8.0
    • Similar Issues:

      Description

      Microsoft Windows [Version 6.3.9600]
      (c) 2013 Microsoft Corporation. All rights reserved.

      C:\Users\HP_AC024TX>d:

      D:\>cd jenkins

      D:\jenkins>java -jar jenkins.war
      Running from: D:\jenkins\jenkins.war
      webroot: $user.home/.jenkins
      ?[33mSep 06, 2017 11:36:59 AM Main deleteWinstoneTempContents
      WARNING: Failed to delete the temporary Winstone file C:\Users\HP_AC0~1\AppData\
      Local\Temp\winstone\jenkins.war
      ?[0mSep 06, 2017 11:37:00 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Logging initialized @1345ms
      Sep 06, 2017 11:37:00 AM winstone.Logger logInternal
      INFO: Beginning extraction from war file
      ?[33mSep 06, 2017 11:37:00 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: Empty contextPath
      ?[0mSep 06, 2017 11:37:00 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: jetty-9.2.z-SNAPSHOT
      Sep 06, 2017 11:37:04 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
      Jenkins home directory: C:\Users\HP_AC024TX\.jenkins found at: $user.home/.jenki
      ns
      Sep 06, 2017 11:37:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Started w.@cecf639{/,file:/C:/Users/HP_AC024TX/.jenkins/war/,AVAILABLE}{C:
      \Users\HP_AC024TX\.jenkins\war}
      ?[33mSep 06, 2017 11:37:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: FAILED ServerConnector@1750fbeb{HTTP/1.1}{0.0.0.0:8080}: java.net.BindE
      xception: 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(Net.java:414)
      at sun.nio.ch.Net.bind(Net.java:406)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
      214)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:32
      1)
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
      workConnector.java:80)
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java
      :236)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
      Cycle.java:68)
      at org.eclipse.jetty.server.Server.doStart(Server.java:366)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
      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(NativeMethodAccessorImpl.
      java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at Main._main(Main.java:293)
      at Main.main(Main.java:132)

      ?[0m?[33mSep 06, 2017 11:37:05 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: FAILED org.eclipse.jetty.server.Server@268f106e: 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(Net.java:414)
      at sun.nio.ch.Net.bind(Net.java:406)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
      214)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:32
      1)
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
      workConnector.java:80)
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java
      :236)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
      Cycle.java:68)
      at org.eclipse.jetty.server.Server.doStart(Server.java:366)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
      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(NativeMethodAccessorImpl.
      java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at Main._main(Main.java:293)
      at Main.main(Main.java:132)

      ?[0mSep 06, 2017 11:37:05 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Stopped ServerConnector@1750fbeb{HTTP/1.1}{0.0.0.0:8080}
      Sep 06, 2017 11:37:06 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:390)
      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(ContextHandler
      .java:842)
      at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContext
      Handler.java:215)
      at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:529)

      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeC
      ycle.java:89)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLif
      eCycle.java:143)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerL
      ifeCycle.java:162)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandl
      er.java:73)
      at org.eclipse.jetty.server.Server.doStop(Server.java:456)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeC
      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(NativeMethodAccessorImpl.
      java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at Main._main(Main.java:293)
      at Main.main(Main.java:132)

      Sep 06, 2017 11:37:06 AM org.eclipse.jetty.util.log.JavaUtilLog info
      INFO: Stopped w.@cecf639{/,file:/C:/Users/HP_AC024TX/.jenkins/war/,UNAVAILABLE}{
      C:\Users\HP_AC024TX\.jenkins\war}
      Sep 06, 2017 11:37:06 AM winstone.Logger logInternal
      INFO: Winstone shutdown successfully
      ?[31mSep 06, 2017 11:37:06 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(NativeMethodAccessorImpl.
      java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at Main._main(Main.java:293)
      at Main.main(Main.java:132)
      Caused by: java.net.BindException: Address already in use: bind
      at sun.nio.ch.Net.bind0(Native Method)
      at sun.nio.ch.Net.bind(Net.java:414)
      at sun.nio.ch.Net.bind(Net.java:406)
      at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:
      214)
      at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
      at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:32
      1)
      at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
      workConnector.java:80)
      at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java
      :236)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
      Cycle.java:68)
      at org.eclipse.jetty.server.Server.doStart(Server.java:366)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
      Cycle.java:68)
      at winstone.Launcher.<init>(Launcher.java:152)
      ... 7 more

      ?[0m?[31mSep 06, 2017 11:37:06 AM hudson.util.BootFailure publish
      SEVERE: Failed to initialize Jenkins
      hudson.util.HudsonFailedToLoad: java.nio.channels.ClosedByInterruptException
      at hudson.WebAppMain$3.run(WebAppMain.java:252)
      Caused by: java.nio.channels.ClosedByInterruptException
      at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterr
      uptibleChannel.java:202)
      at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:200)
      at java.nio.channels.Channels.writeFullyImpl(Channels.java:78)
      at java.nio.channels.Channels.writeFully(Channels.java:101)
      at java.nio.channels.Channels.access$000(Channels.java:61)
      at java.nio.channels.Channels$1.write(Channels.java:174)
      at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
      at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:316)
      at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149)
      at java.io.OutputStreamWriter.close(OutputStreamWriter.java:233)
      at java.io.BufferedWriter.close(BufferedWriter.java:266)
      at hudson.util.AtomicFileWriter.close(AtomicFileWriter.java:101)
      at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:116)
      at hudson.util.TextFile.write(TextFile.java:122)
      at jenkins.model.Jenkins.<init>(Jenkins.java:885)
      at hudson.model.Hudson.<init>(Hudson.java:86)
      at hudson.model.Hudson.<init>(Hudson.java:82)
      at hudson.WebAppMain$3.run(WebAppMain.java:235)

      ?[0mSep 06, 2017 11:37:07 AM jenkins.model.Jenkins cleanUp
      INFO: Stopping Jenkins
      Sep 06, 2017 11:37:07 AM jenkins.model.Jenkins$21 onAttained
      INFO: Started termination
      ?[31mSep 06, 2017 11:37:07 AM jenkins.model.Jenkins$21 onTaskFailed
      SEVERE: Failed IOHubProvider.cleanUp
      java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.IOHubP
      rovider
      at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
      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:3317)
      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:3317)
      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:3314)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3236)
      at hudson.WebAppMain$3.run(WebAppMain.java:256)

      ?[0m?[31mSep 06, 2017 11:37:07 AM jenkins.model.Jenkins$21 onTaskFailed
      SEVERE: Failed NioChannelSelector.cleanUp
      java.lang.IllegalArgumentException: Unable to inject class jenkins.slaves.NioCha
      nnelSelector
      at hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:125)
      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:105)
      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:3317)
      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:3317)
      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:3314)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3236)
      at hudson.WebAppMain$3.run(WebAppMain.java:256)

      ?[0mSep 06, 2017 11:37:07 AM jenkins.model.Jenkins$21 onAttained
      INFO: Completed termination
      Sep 06, 2017 11:37:07 AM jenkins.model.Jenkins _cleanUpDisconnectComputers
      INFO: Starting node disconnection
      ?[31mSep 06, 2017 11:37:07 AM jenkins.model.Jenkins _cleanUpShutdownTriggers
      SEVERE: Failed to shut down triggers
      java.lang.InterruptedException
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireShare
      dNanos(AbstractQueuedSynchronizer.java:1324)
      at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
      at jenkins.model.Jenkins._cleanUpShutdownTriggers(Jenkins.java:3460)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3248)
      at hudson.WebAppMain$3.run(WebAppMain.java:256)

      ?[0mSep 06, 2017 11:37:07 AM jenkins.model.Jenkins _cleanUpPersistQueue
      INFO: Persisting build queue
      Sep 06, 2017 11:37:08 AM jenkins.model.Jenkins cleanUp
      INFO: Jenkins stopped
      Exception in thread "Jenkins initialization thread" java.lang.RuntimeException:
      Unexpected issues encountered during cleanUp: null
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3277)
      at hudson.WebAppMain$3.run(WebAppMain.java:256)
      Caused by: java.lang.InterruptedException
      at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireShare
      dNanos(AbstractQueuedSynchronizer.java:1324)
      at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
      at jenkins.model.Jenkins._cleanUpShutdownTriggers(Jenkins.java:3460)
      at jenkins.model.Jenkins.cleanUp(Jenkins.java:3248)
      ... 1 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              poojavasu pooja Vasu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: