ERROR: transport error 202: bind failed: 地址已在使用
启动tomcat时报错:
[root@kf-income-web01 ~]# /home/gdsy/Tomcat/bin/startup.sh & tailf /home/gdsy/Tomcat/logs/catalina.out
[1] 7283
-server -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Xms1024m -Xmx2048m -XX:PermSize=128M -XX:MaxPermSize=256M
Using CATALINA_BASE: /home/gdsy/Tomcat
Using CATALINA_HOME: /home/gdsy/Tomcat
Using CATALINA_TMPDIR: /home/gdsy/Tomcat/temp
Using JRE_HOME: /usr/java/jdk1.8.0_151
Using CLASSPATH: /home/gdsy/Tomcat/bin/bootstrap.jar:/home/gdsy/Tomcat/bin/tomcat-juli.jar
Tomcat started.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
ERROR: transport error 202: bind failed: 地址已在使用
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
ERROR: transport error 202: bind failed: 地址已在使用
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
^C
- + Done /home/gdsy/Tomcat/bin/startup.sh
tomcat启动报错是因为:在catalina.sh中设置了调试启动参数,和其他的tomcat重复了;编辑catalina.sh全局搜索下 address=,去掉或者改一下address端口号,重启tomcat
catalina.sh :
新建日期: 2020.05.13
修改日期: 2020.05.13
版本: V1.0
修改内容: 新建;