1:Tocat配置
修改bin/startup.sh脚本
[color=red] exec "$PRGDIR"/"$EXECUTABLE" start "$@"[/color]
修改为:
[color=red] exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"[/color]
修改bin/catalina.sh
添加或修改
[color=red]JPDA_ADDRESS=8085[/color]
2:Eclipse配置
修增加一个 remote java application 配置对应的端口和IP
修改bin/startup.sh脚本
[color=red] exec "$PRGDIR"/"$EXECUTABLE" start "$@"[/color]
修改为:
[color=red] exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"[/color]
修改bin/catalina.sh
添加或修改
[color=red]JPDA_ADDRESS=8085[/color]
2:Eclipse配置
修增加一个 remote java application 配置对应的端口和IP