title: Intellij IDEA 13 and Glassfish 4 integration - Error: Admin port configuration not found
body: <p>I have IntelliJ IDEA 13 and Glassfish 4.  I created a new domain in Glassfish using command:</p>
  
  <p><code>asadmin create-domain --portbase 10000 --nopassword test-domain</code></p>
  
  <p>Then, in Intellij, I setup a run configuration for Glassfish specifying Server Domain: test-domain.  On the bottom of the config dialog, it reports:</p>
  
  <p>"Error: Admin port configuration not found."</p>
  
  <p>I saw this post on SO: <a href="https://stackoverflow.com/questions/7010418/admin-port-configuration-not-found-error-while-setting-up-glassfish-config-in-i">Admin port configuration not found&#39; error while setting up Glassfish config in IntelliJ</a>  ...but I <em>do</em> find the port configured under:</p>
  
  <p>/configs/config[@name='server-config']/network-config/network-listeners/network-listener[@protocol='admin-listener']/@port</p>
  
  <p>as follows:</p>
  
  <p><code>&lt;network-listener port="10048" protocol="admin-listener" transport="tcp" name="admin-listener" thread-pool="admin-thread-pool"&gt;&lt;/network-listener&gt;</code></p>
  
  <p>I'm wondering if something changed in Intellij 13 or Glassfish 4 that has caused this issue to return?  Or am I missing something?</p>
  
  <p>Any help would be much appreciated.</p>