通常情况下 我们希望可以用探针去监控应用的情况,使用arthas去监控微服务的运行情况,但是在Websphere上arthas就无法使用了
通过查询得知 需要在websphere的启动参数中打开debug功能
-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dwas.debug.mode=true
重启应用后,监控生效 |
通常情况下 我们希望可以用探针去监控应用的情况,使用arthas去监控微服务的运行情况,但是在Websphere上arthas就无法使用了
通过查询得知 需要在websphere的启动参数中打开debug功能
-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dwas.debug.mode=true
重启应用后,监控生效 |
转载于:https://my.oschina.net/u/1472482/blog/3050327