在IntelliJ中设置Glassfish配置时找不到管理端口配置'错误 [英] Admin port configuration not found' error while setting up Glassfish config in IntelliJ

查看:1097
本文介绍了在IntelliJ中设置Glassfish配置时找不到管理端口配置'错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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屋!

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