QQ叫紫珊 发表于 2017-1-28 13:21:38

tomcat 监听端口设置

1. 在catalina.sh(linux)或catalina.bat(windows)中增加以下配置:
    CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE   -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5555"
    address只要没有被占用都可以
2.在本机Myeclipse中打开debug configuration找到remote java application进行配置
页: [1]
查看完整版本: tomcat 监听端口设置