Can you please tell me How to resolve This Below Error WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by Main (file:/D:/Softwares/jenkins/jenkins.war) to field java.util.zip.ZipFile.name WARNING: Please consider reporting this to the maintainers of Main WARNING: Use –illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Running from: D:Softwaresjenkinsjenkins.war webroot: $user.home/.jenkins Mar 12, 2018 1:13:32 PM winstone.Logger logInternal INFO: Beginning extraction from war file Mar 12, 2018 1:13:32 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-8.y.z-SNAPSHOT Mar 12, 2018 1:13:35 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet Jenkins home directory: C:Userswelcome.jenkins found at: $user.home/.jenkins [33mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: FAILED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@58a55449: java.io.IOException: Unable to establish loopback connection java.io.IOException: Unable to establish loopback connection at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/sun.nio.ch.PipeImpl.<init>(Unknown Source) at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source) at java.base/java.nio.channels.Pipe.open(Unknown Source) at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source) at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source) at java.base/java.nio.channels.Selector.open(Unknown Source) at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416) at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:261) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:324) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.Server.doStart(Server.java:293) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:154) at winstone.Launcher.main(Launcher.java:354) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:293) at Main.main(Main.java:98) Caused by: java.net.SocketException: Permission denied: connect at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.SocketChannelImpl.connect(Unknown Source) at java.base/java.nio.channels.SocketChannel.open(Unknown Source) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source) … 26 more
[0m[33mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: FAILED SelectChannelConnector@0.0.0.0:8080: java.io.IOException: Unable to establish loopback connection java.io.IOException: Unable to establish loopback connection at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/sun.nio.ch.PipeImpl.<init>(Unknown Source) at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source) at java.base/java.nio.channels.Pipe.open(Unknown Source) at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source) at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source) at java.base/java.nio.channels.Selector.open(Unknown Source) at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416) at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:261) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:324) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.Server.doStart(Server.java:293) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:154) at winstone.Launcher.main(Launcher.java:354) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:293) at Main.main(Main.java:98) Caused by: java.net.SocketException: Permission denied: connect at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.SocketChannelImpl.connect(Unknown Source) at java.base/java.nio.channels.SocketChannel.open(Unknown Source) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source) … 26 more
[0m[33mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: FAILED org.eclipse.jetty.server.Server@53ce1329: java.io.IOException: Unable to establish loopback connection java.io.IOException: Unable to establish loopback connection at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/sun.nio.ch.PipeImpl.<init>(Unknown Source) at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source) at java.base/java.nio.channels.Pipe.open(Unknown Source) at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source) at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source) at java.base/java.nio.channels.Selector.open(Unknown Source) at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416) at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:261) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:324) at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.Server.doStart(Server.java:293) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:154) at winstone.Launcher.main(Launcher.java:354) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at Main._main(Main.java:293) at Main.main(Main.java:98) Caused by: java.net.SocketException: Permission denied: connect at java.base/sun.nio.ch.Net.connect0(Native Method) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.Net.connect(Unknown Source) at java.base/sun.nio.ch.SocketChannelImpl.connect(Unknown Source) at java.base/java.nio.channels.SocketChannel.open(Unknown Source) at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source) … 26 more
[0mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: stopped w.{,file:/C:/Users/welcome/.jenkins/war/},C:Userswelcome.jenkinswar Mar 12, 2018 1:13:36 PM winstone.Logger logInternal INFO: Winstone shutdown successfully [31mMar 12, 2018 1:13:36 PM winstone.Logger logInternal SEVERE: Container startup failed java.io.IOException: Failed to start Jetty at winstone.Launcher.<init>(Launcher.java:156) at winstone.Launcher.main(Launcher.java:354) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) a
C:Program Files (x86)Jenkins>java -jar jenkins.war Running from: C:Program Files (x86)Jenkinsjenkins.war webroot: $user.home/.jenkins Main deleteWinstoneTempContents WARNING: Failed to delete the temporary Winstone file C:UsersuserAppDataLocalTempwinstonejenkins.war org.eclipse.jetty.util.log.Log initialized INFO: Logging initialized @1490ms to org.eclipse.jetty.util.log.JavaUtilLog winstone.Logger logInternal INFO: Beginning extraction from war file org.eclipse.jetty.server.handler.ContextHandler setContextPath WARNING: Empty contextPath org.eclipse.jetty.server.Server doStart INFO: jetty-9.4.z-SNAPSHOT org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet org.eclipse.jetty.server.session.DefaultSessionIdManager doStart INFO: DefaultSessionIdManager workerName=node0 org.eclipse.jetty.server.session.DefaultSessionIdManager doStart INFO: No SessionScavenger set, using defaults org.eclipse.jetty.server.session.HouseKeeper startScavenging INFO: Scavenging every 660000ms Jenkins home directory: C:Usersuser.jenkins found at: $user.home/.jenkins org.eclipse.jetty.server.handler.ContextHandler doStart INFO: Started w.@4bdeaabb{/,file:///C:/Users/user/.jenkins/war/,AVAILABLE}{C:Usersuser.jenkinswar} org.eclipse.jetty.server.AbstractConnector doStop INFO: Stopped ServerConnector@7a5ceedd{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} org.eclipse.jetty.server.session.HouseKeeper stopScavenging INFO: Stopped scavenging 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:898) at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:545) at org.eclipse.jetty.server.handler.ContextHandler.stopContext(ContextHandler.java:873) at org.eclipse.jetty.servlet.ServletContextHandler.stopContext(ServletContextHandler.java:355) at org.eclipse.jetty.webapp.WebAppContext.stopWebapp(WebAppContext.java:1507) at org.eclipse.jetty.webapp.WebAppContext.stopContext(WebAppContext.java:1471) at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:927) at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:271) at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:569) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160) at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124) at org.eclipse.jetty.server.Server.doStop(Server.java:523) at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89) at winstone.Launcher.shutdown(Launcher.java:307) at winstone.Launcher.<init>(Launcher.java:167) at winstone.Launcher.main(Launcher.java:354) 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:294) at Main.main(Main.java:132)
org.eclipse.jetty.server.handler.ContextHandler doStop INFO: Stopped w.@4bdeaabb{/,null,UNAVAILABLE}{C:Usersuser.jenkinswar} Exception in thread "Jenkins initialization thread" java.lang.NoClassDefFoundError: hudson/util/HudsonFailedToLoad at hudson.WebAppMain$3.run(WebAppMain.java:249) Caused by: java.lang.ClassNotFoundException: hudson.util.HudsonFailedToLoad at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:560) at java.lang.ClassLoader.loadClass(Unknown Source) … 1 more
winstone.Logger logInternal SEVERE: Container startup failed java.io.IOException: Failed to start Jetty at winstone.Launcher.<init>(Launcher.java:156) at winstone.Launcher.main(Launcher.java:354) 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:294) 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(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:298) at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.server.Server.doStart(Server.java:431) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at winstone.Launcher.<init>(Launcher.java:154) … 7 more
WARNING: FAILED ServerConnector@160ac7fb{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(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:32 1) at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet …………………. …………………. …………………..
I got this below message when I tried to install Jenkins though the Jenkins is up and running.
WARNING: Upgrading Jenkins. Failed to update the default Update Site 'default'. Plugin upgrades may fail. java.net.SocketTimeoutException: connect timed out
I have intsllaed Jenkins 2.32.1 on my machine as per your video and while installing I have selected Install Suggested Plugins option also.
I have few queries in Jenkins, If you are aware can you please help me here.
I am planing to use Jenkins to collect few information. Can you please let me know what all should be done to get this ?
I am creating windows images in my environment and normally I check each windows images manually to see whether the imaging is successful or not.I want the success or failure status of windows images to be updated in Jenkins so that when I need, I can login to Jenkins to check the same.
Also Once the image creation is completed we use to run a powershell script to validate the image to see all the necessary applications are installed or not and this powershell script used to send an email to our mail box. But I want this step also to be automated from Jenkins using the same powershell script, so that the validation status also get updated on Jenkins behalf of sending emails.
Hi Siva Reddy, when i downloaded jenkins from respective website and extract, i didn't find any .war file except jenkins windows installer Package n when try to install through cmd with that command it is saying "unable to access jarfile jenkins.war". Please help with this.
Can you please tell me How to resolve This Below Error
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by Main (file:/D:/Softwares/jenkins/jenkins.war) to field java.util.zip.ZipFile.name
WARNING: Please consider reporting this to the maintainers of Main
WARNING: Use –illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Running from: D:Softwaresjenkinsjenkins.war
webroot: $user.home/.jenkins
Mar 12, 2018 1:13:32 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Mar 12, 2018 1:13:32 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
Mar 12, 2018 1:13:35 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: C:Userswelcome.jenkins found at: $user.home/.jenkins
[33mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: FAILED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@58a55449: java.io.IOException: Unable to establish loopback connection
java.io.IOException: Unable to establish loopback connection
at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.nio.ch.PipeImpl.<init>(Unknown Source)
at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.base/java.nio.channels.Pipe.open(Unknown Source)
at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at java.base/java.nio.channels.Selector.open(Unknown Source)
at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416)
at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:324)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at winstone.Launcher.<init>(Launcher.java:154)
at winstone.Launcher.main(Launcher.java:354)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at Main._main(Main.java:293)
at Main.main(Main.java:98)
Caused by: java.net.SocketException: Permission denied: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.base/java.nio.channels.SocketChannel.open(Unknown Source)
at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source)
… 26 more
[0m[33mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: FAILED SelectChannelConnector@0.0.0.0:8080: java.io.IOException: Unable to establish loopback connection
java.io.IOException: Unable to establish loopback connection
at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.nio.ch.PipeImpl.<init>(Unknown Source)
at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.base/java.nio.channels.Pipe.open(Unknown Source)
at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at java.base/java.nio.channels.Selector.open(Unknown Source)
at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416)
at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:324)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at winstone.Launcher.<init>(Launcher.java:154)
at winstone.Launcher.main(Launcher.java:354)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at Main._main(Main.java:293)
at Main.main(Main.java:98)
Caused by: java.net.SocketException: Permission denied: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.base/java.nio.channels.SocketChannel.open(Unknown Source)
at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source)
… 26 more
[0m[33mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: FAILED org.eclipse.jetty.server.Server@53ce1329: java.io.IOException: Unable to establish loopback connection
java.io.IOException: Unable to establish loopback connection
at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.base/sun.nio.ch.PipeImpl$Initializer.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/sun.nio.ch.PipeImpl.<init>(Unknown Source)
at java.base/sun.nio.ch.SelectorProviderImpl.openPipe(Unknown Source)
at java.base/java.nio.channels.Pipe.open(Unknown Source)
at java.base/sun.nio.ch.WindowsSelectorImpl.<init>(Unknown Source)
at java.base/sun.nio.ch.WindowsSelectorProvider.openSelector(Unknown Source)
at java.base/java.nio.channels.Selector.open(Unknown Source)
at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:416)
at org.eclipse.jetty.io.nio.SelectorManager.doStart(SelectorManager.java:261)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:324)
at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:265)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at org.eclipse.jetty.server.Server.doStart(Server.java:293)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at winstone.Launcher.<init>(Launcher.java:154)
at winstone.Launcher.main(Launcher.java:354)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at Main._main(Main.java:293)
at Main.main(Main.java:98)
Caused by: java.net.SocketException: Permission denied: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
at java.base/java.nio.channels.SocketChannel.open(Unknown Source)
at java.base/sun.nio.ch.PipeImpl$Initializer$LoopbackConnector.run(Unknown Source)
… 26 more
[0mMar 12, 2018 1:13:36 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: stopped w.{,file:/C:/Users/welcome/.jenkins/war/},C:Userswelcome.jenkinswar
Mar 12, 2018 1:13:36 PM winstone.Logger logInternal
INFO: Winstone shutdown successfully
[31mMar 12, 2018 1:13:36 PM winstone.Logger logInternal
SEVERE: Container startup failed
java.io.IOException: Failed to start Jetty
at winstone.Launcher.<init>(Launcher.java:156)
at winstone.Launcher.main(Launcher.java:354)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
a
Hi All,
java -jar jenkins.war
I get following error:
C:Program Files (x86)Jenkins>java -jar jenkins.war
Running from: C:Program Files (x86)Jenkinsjenkins.war
webroot: $user.home/.jenkins
Main deleteWinstoneTempContents
WARNING: Failed to delete the temporary Winstone file C:UsersuserAppDataLocalTempwinstonejenkins.war
org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @1490ms to org.eclipse.jetty.util.log.JavaUtilLog
winstone.Logger logInternal
INFO: Beginning extraction from war file
org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
org.eclipse.jetty.server.Server doStart
INFO: jetty-9.4.z-SNAPSHOT
org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: DefaultSessionIdManager workerName=node0
org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: No SessionScavenger set, using defaults
org.eclipse.jetty.server.session.HouseKeeper startScavenging
INFO: Scavenging every 660000ms
Jenkins home directory: C:Usersuser.jenkins found at: $user.home/.jenkins
org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.@4bdeaabb{/,file:///C:/Users/user/.jenkins/war/,AVAILABLE}{C:Usersuser.jenkinswar}
org.eclipse.jetty.server.AbstractConnector doStop
INFO: Stopped ServerConnector@7a5ceedd{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
org.eclipse.jetty.server.session.HouseKeeper stopScavenging
INFO: Stopped scavenging
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:898)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextDestroyed(ServletContextHandler.java:545)
at org.eclipse.jetty.server.handler.ContextHandler.stopContext(ContextHandler.java:873)
at org.eclipse.jetty.servlet.ServletContextHandler.stopContext(ServletContextHandler.java:355)
at org.eclipse.jetty.webapp.WebAppContext.stopWebapp(WebAppContext.java:1507)
at org.eclipse.jetty.webapp.WebAppContext.stopContext(WebAppContext.java:1471)
at org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:927)
at org.eclipse.jetty.servlet.ServletContextHandler.doStop(ServletContextHandler.java:271)
at org.eclipse.jetty.webapp.WebAppContext.doStop(WebAppContext.java:569)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
at org.eclipse.jetty.util.component.ContainerLifeCycle.stop(ContainerLifeCycle.java:142)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:160)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
at org.eclipse.jetty.server.Server.doStop(Server.java:523)
at org.eclipse.jetty.util.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:89)
at winstone.Launcher.shutdown(Launcher.java:307)
at winstone.Launcher.<init>(Launcher.java:167)
at winstone.Launcher.main(Launcher.java:354)
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:294)
at Main.main(Main.java:132)
org.eclipse.jetty.server.handler.ContextHandler doStop
INFO: Stopped w.@4bdeaabb{/,null,UNAVAILABLE}{C:Usersuser.jenkinswar}
Exception in thread "Jenkins initialization thread" java.lang.NoClassDefFoundError: hudson/util/HudsonFailedToLoad
at hudson.WebAppMain$3.run(WebAppMain.java:249)
Caused by: java.lang.ClassNotFoundException: hudson.util.HudsonFailedToLoad
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:560)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 1 more
winstone.Logger logInternal
SEVERE: Container startup failed
java.io.IOException: Failed to start Jetty
at winstone.Launcher.<init>(Launcher.java:156)
at winstone.Launcher.main(Launcher.java:354)
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:294)
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(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:298)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:431)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at winstone.Launcher.<init>(Launcher.java:154)
… 7 more
[0m
Can anyone help?
really nice session for beginers
Why this type of error is comming :
WARNING: FAILED ServerConnector@160ac7fb{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(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:32
1)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNet
………………….
………………….
…………………..
Thanks.. good video
Thanq Very much bro…
Good work sir. thanks a lot.
Hi SivaReddy I am trying to run jenkins in CMD prompt it will stopped may know the reason
I got this below message when I tried to install Jenkins though the Jenkins is up and running.
WARNING: Upgrading Jenkins. Failed to update the default Update Site 'default'.
Plugin upgrades may fail.
java.net.SocketTimeoutException: connect timed out
Thanks for sharing this Shiva… Keep it Up…
""This site can’t be reached
localhost refused to connect.""
It shows this message after installing and going to the home page ""http://localhost:8080/"" please help
good one… Thanks
hi siva ,when am going to install jenkins some plugins are not installing still loading it showing cross symbol ,what i'll do now
Thank you for sharing this video
siva .. i did not understand how to use cmd to access jenkins war file .. once i open cmd . i get .. c:UsersIBM_ADMIN> … what to type after this ?
Hi Siva,
Thanks for wonderful video.
I have intsllaed Jenkins 2.32.1 on my machine as per your video and while installing I have selected Install Suggested Plugins option also.
I have few queries in Jenkins, If you are aware can you please help me here.
I am planing to use Jenkins to collect few information. Can you please let me know what all should be done to get this ?
I am creating windows images in my environment and normally I check each windows images manually to see whether the imaging is successful or not.I want the success or failure status of windows images to be updated in Jenkins so that when I need, I can login to Jenkins to check the same.
Also Once the image creation is completed we use to run a powershell script to validate the image to see all the necessary applications are installed or not and this powershell script used to send an email to our mail box. But I want this step also to be automated from Jenkins using the same powershell script, so that the validation status also get updated on Jenkins behalf of sending emails.
Is there any way to accomplish this ?
Hi Siva Reddy,
when i downloaded jenkins from respective website and extract, i didn't find any .war file except jenkins windows installer Package n when try to install through cmd with that command it is saying "unable to access jarfile jenkins.war".
Please help with this.