Admin port configuration not found' error while setting up Glassfish config in IntelliJ

旧街凉风 提交于 2019-12-05 02:23:58

IDEA GlassFish integration detects admin port from the file: <domain folder>/config/domain.xml

XPaths checked:

/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

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.

I think the broken link should be http://youtrack.jetbrains.net/issue/IDEA-25807 and points to the Glassfish HOME configuration as the issue.

It was happening to me because my domain.xml was not in the /domain1/config folder.

Instead I had this two files domain.xml.bak and domain.xml~.

What I did is create a new domain.xml with the content of domain.xml~. Then remove the two fields (.bak and .xml~) And then run again glassfish.

That worked for me.

Why my domain.xml sundenly disappear stills a mistery to me. :S

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!