paip. java resin 远程 调试 java resin remote debug
作者Attilax 艾龙, EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
1.resin4 以debug方式启动..
E:\resin-4.0.22\resin.exe console --debug-port 8000
2.实际执行后的指令是俩个过程.
"E:\Program Files\Java\jdk1.6.0_10\bin\java.exe" -Xrs -jar "E:\resin-4.0.22\lib\resin.jar" -resin-home "E:\resin-4.0.22" -root-directory "E:\resin-4.0.22" console -debug-port 8000
"E:\Program Files\Java\jdk1.6.0_10\bin\javaw" -Dresin.server= -Djava.util.logging.manager=com.caucho.log.LogManagerImpl -Djava.system.class.loader=com.caucho.loader.SystemClassLoader "-Djava.endorsed.dirs=E:\Program Files\Java\jdk1.6.0_10\jre\lib\endorsed;E:\resin-4.0.22\endorsed" -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl -Djava.awt.headless=true -Dresin.home=/E:/resin-4.0.22 -Xss1m -Xmx256m -Xrs -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 com.caucho.server.resin.Resin --root-directory /E:/resin-4.0.22 -conf E:\resin-4.0.22\conf\resin.xml -server "" -socketwait 9341 -resin-home /E:/resin-4.0.22 -root-directory /E:/resin-4.0.22 console -debug-port 8000
3.重点是这个 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
4.eclipse>cls>debug cfg> remote java app >>>ok
set breakpoint ..then exec jsp....can class breakpoint execu ...
paip. java resin 远程 调试 java resin remote debug
最新推荐文章于 2024-01-10 16:27:19 发布