在tomcat 8中配置JPDA

时间:2018-07-15 09:09:25

标签: java tomcat centos tomcat8 jpda

我的centos服务器上有tomcat 8,并且JPDA的配置是(在catalina.sh中):

export JPDA_OPTS="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"

但是在使用了几分钟(并连接到该端口)后,该端口已关闭,并且在catalina.out上出现以下错误

Listening for transport dt_socket at address: 8000
Debugger failed to attach: recv failed during handshake: Resource temporarily unavailable
Debugger failed to attach: timeout during handshake

我的配置可以吗?

0 个答案:

没有答案