无法将调试器附加到HTTP JVM,而是附加AMGR JVM [英] Can not attach debugger to HTTP JVM, AMGR JVM is attached instead

查看:148
本文介绍了无法将调试器附加到HTTP JVM,而是附加AMGR JVM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Domino配置为允许通过notes.ini参数进行远程调试:

Domino is configured to allow remote debugging by notes.ini param:

JavaEnableDebug=1
JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8703

在Domino Designer /中调试调试Eclipse调试一些XPage代码。调试器附加到不同的JVM。正如我发现的那样,AMGR的JVM以前运行Java代理。断开连接并重新连接调试器没有帮助。

Debug is tarted in Domino Designer/Eclipse to debug some XPages code. Debugger attaches to different JVM. As I discovered, it is JVM of AMGR which run Java agent previously. Disconnecting and reconnecting debugger does not help.

只有解决方法是关闭/重启AMGR才能连接到HTTP JVM。

Only workaround is to shutdown/restart AMGR to be able to attach to HTTP JVM.

是否可以为AMGR和HTTP调试器设置不同的端口?

推荐答案

我谈到了关于这个问题的开发,这是一个已知问题(对他们来说:)。当Domino服务器启动时,所有JVM(AMGR / HTTP)将根据调试设置尝试连接到端口。所以哪个进程抓住它首先获胜。

I spoke to development about this issue and it is a known issue (to them :) . When the Domino server starts up all JVMs (AMGR / HTTP) will attempt to connect to the port as per the debug settings. So which ever process grabs it first wins.

目前正在调查您是否可以拥有多个端口(我还没有SPR)。

It is currently under investigation to see if you can have multiple ports (I don't have an SPR yet).

您可以尝试更改notes.ini中SERVERTASKS设置的顺序,以在AMGR之前启动HTTP。否则停止两个进程,然后启动你想要的进程。

You can try changing the sequence of the SERVERTASKS setting in the notes.ini to launch the HTTP before the AMGR. Otherwise stop both processes and then start the one you want.

这篇关于无法将调试器附加到HTTP JVM,而是附加AMGR JVM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆