gpt4 book ai didi

Jenkins - 如何在 Windows 机器上解决 "Shutting down a Jenkins instance that was still starting up"

转载 作者:行者123 更新时间:2023-12-01 14:45:48 24 4
gpt4 key购买 nike

在命令提示符下使用 command: Java -jar jenkis.war 运行 Jenkins 时出错 .. 尝试了几种方法,但没有锻炼。你能帮我解决这个问题吗?

错误:关闭仍在启动的 Jenkins 实例

===========================================================================
INFO: Shutting down a Jenkins instance that was still starting up
java.lang.Throwable: reason
at hudson.WebAppMain.contextDestroyed(WebAppMain.java:388)
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:1521)
at org.eclipse.jetty.webapp.WebAppContext.stopContext(WebAppContext.java:1485)
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:144)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStop(ContainerLifeCycle.java:162)
at org.eclipse.jetty.server.handler.AbstractHandler.doStop(AbstractHandler.java:124)
at org.eclipse.jetty.server.Server.doStop(Server.java:489)
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:312)
at Main.main(Main.java:136)

Apr 20, 2018 12:30:08 PM org.eclipse.jetty.server.handler.ContextHandler doStop
INFO: Stopped w.@7807ac2c{/,null,UNAVAILABLE}{C:\Users\QA Team\.jenkins\war}
Exception in thread "Jenkins initialization thread"

最佳答案

根本原因是,如果您使用命令行启动 jenkins,则请求的 http 端口被不同的应用程序使用:java -jar jenkins.war --httpPort=8080 将其更改为例如:java -jar jenkins.war --httpPort=8383

关于Jenkins - 如何在 Windows 机器上解决 "Shutting down a Jenkins instance that was still starting up",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49936385/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com