gpt4 book ai didi

java - TOMCAT - org.apache.catalina.startup.Catalina stopServer 严重 : Catalina. 停止:

转载 作者:行者123 更新时间:2023-11-28 23:24:12 27 4
gpt4 key购买 nike

我在尝试调用 Tomcat 上的 shutdown.sh 时遇到此错误。Tomcat 在 192.168.1.240:8080 上的内部服务器上

堆栈跟踪是

Aug 29, 2016 5:14:09 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.NoRouteToHostException: Can't assign requested address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:450)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:400)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:487)

Tomcat 不会停止...

最佳答案

可能是你的可用端口用完了或者stop tomcat的端口已经被占用了。你可以杀死进程来停止tomcat

关于java - TOMCAT - org.apache.catalina.startup.Catalina stopServer 严重 : Catalina. 停止:,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39209693/

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