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
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