ERROR: transport error 202: bind failed: 地址已在使用

2 篇文章 0 订阅

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

  1. +  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    

修改内容: 新建;

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值