gpt4 book ai didi

intellij-idea - WebSphere Liberty 配置文件和 Intellij : JMX administration should be enable

转载 作者:行者123 更新时间:2023-12-04 00:50:26 24 4
gpt4 key购买 nike

是否有人从 Intellij 12 内部运行 WebSphere 8.5.0.1 Liberty Profile?

我添加了一个 WebSphere 服务器运行配置,但我得到的只是:

Error running WebSphere 8.5.0.1: JMX administration should be enabled


我可以理解错误,但不确定如何在 Intellij 中解决此问题。我在 WebSphere 中添加了 server.xml 说:
<featureManager>
<feature>localConnector-1.0</feature>
</featureManager>

但我不确定 Intellij 是否正在阅读这个配置文件。

enter image description here

如果有人有这个工作,请告诉我如何。谢谢。

最佳答案

为了让 IDEA 可以使用 JMX 管理 WebSphere LP,您应该在 server.xml 中指定:

<applicationMonitor updateTrigger="mbean" />

另外到您已经指定的片段:
<featureManager>
<feature>localConnector-1.0</feature>
</featureManager>

实际上,IDEA 能够为您进行这两项更改——您只需按下 JMX administration should be enabled 旁边的“修复”按钮即可。运行配置中的消息。

关于intellij-idea - WebSphere Liberty 配置文件和 Intellij : JMX administration should be enable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15485239/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com