gpt4 book ai didi

java - org.apache.catalina.startup.Catalina.stopServer(Catalina.java :395)

转载 作者:行者123 更新时间:2023-12-01 13:44:52 28 4
gpt4 key购买 nike

尝试启动 servlet 引擎时,出现以下错误:

  1. 8080端口免费
  2. 在启动服务期间发现此错误。
  3. 服务器中已启用 IPv6。

错误:

Using CATALINA_BASE:   /app/iw-home/servletd
Using CATALINA_HOME: /app/iw-home/servletd
Using CATALINA_TMPDIR: /app/iw-home/servletd/temp
Using JAVA_HOME: /app/iw-home/tools/java
Using CLASSPATH: :/app/iw-home/tools/java/lib/tools.jar:/app/iw-home/servletd/bin/bootstrap.jar:/app/iw-home/servletd/bin/commons-logging-api.jar
Dec 6, 2013 1:19:31 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:179)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

最佳答案

看起来您正在尝试在服务器未运行时停止或重新启动服务器。相反,您需要启动它。

关于java - org.apache.catalina.startup.Catalina.stopServer(Catalina.java :395),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20432052/

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