在IntelliJ中设置Glassfish配置时找不到管理端口配置'错误 [英] Admin port configuration not found' error while setting up Glassfish config in IntelliJ
问题描述
在IntelliJ IDEA中设置Glassfish时,我收到以下错误消息未找到管理端口配置。
When setting up Glassfish in IntelliJ IDEA I get the following Error message ´Admin port configuration not found´.
现在我搜索了一个低位,但我找不到任何地方我可以在哪里设置管理端口。
Now I searched high an low but I found no place where I can set the admin port.
搜索我发现的所有内容都是 JavaRanch上的死链接。所以我不是第一个,但解决方案丢失了。
Searching Google all I found was a dead link on the JavaRanch. So Im not the first but the solution is lost.
有人知道要做什么吗?
推荐答案
IDEA GlassFish集成检测文件中的管理端口:< domain folder> /config/domain.xml
IDEA GlassFish integration detects admin port from the file: <domain folder>/config/domain.xml
检查XPath:
/configs/config[@name='server-config']/http-service/http-listener[@id='admin-listener']/@port
/configs/config[@name='server-config']/network-config/network-listeners/network-listener[@protocol='admin-listener']/@port
如果无法找到domain.xml
或两个XPath都无效您将收到消息未找到管理端口配置
。
If domain.xml
can't be found or both XPaths aren't valid you'll be warned with the message Admin port configuration not found
.
这篇关于在IntelliJ中设置Glassfish配置时找不到管理端口配置'错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!