Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

Searching Google all I found was a dead link on the JavaRanch. So Im not the first but the solution is lost.

Does anybody know what is to be done?

like image 961
Patrick Stalder Avatar asked Aug 10 '11 11:08

Patrick Stalder


Video Answer


1 Answers

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.

like image 131
CrazyCoder Avatar answered Sep 30 '22 19:09

CrazyCoder