首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Eclipse 远道调试 WebSphere 7 Application Server

2013-03-01 
Eclipse 远程调试 WebSphere 7 Application Server进入WAS7管理控制台 ,选择Servers → Server Types →WebS

Eclipse 远程调试 WebSphere 7 Application Server
进入WAS7管理控制台 ,选择Servers → Server Types →WebSphere application servers 

选择某一server(如果是集群只能选择一个server进行调试(将其他server停掉),可以将四个server都启用调试服务,这样只需将端口号设置成不同的就可以,待Eclipse调试时修改端口号就可以了。),鼠标点击进入,选择configuration选项卡,选择debuggingservice 参见图2

 Eclipse 远道调试 WebSphere 7 Application Server

启用Websphere调试服务

 

选中Enable service at server startup   ,JVM debug port 默认为7777

JVM debug arguments 参数默认配置,无需修改。

点击apply 。

Eclipse 远道调试 WebSphere 7 Application Server


 

Eclipse 配置

 

Run → Open Debug Dialog(或者是DebugConfigurations) → Remote JavaApplication 右键 new (如下图)

 Eclipse 远道调试 WebSphere 7 Application Server

Name 命名无限制

HOST : Server 的 ip地址

Port : 与Server的端口一致(7777),可随意设置,只要两边一致就好。

点击Debug,打好断点,访问应用程序即可。程序执行到断点处就会进入调试状态。

热点排行