title: Unable to add installed Glassfish 3.1 to Netbeans 7.0
body: <p>I recently migrated to Netbeans 7.0(with glassfish 3.1) from 6.9(with glassfish 3.0). After that glassfish server ran just for the first time and when  I restarted netbeans, since then,  it doesnt show glassfish in the servers list.</p>
  
  <p>Now when I am trying to add my already installed server to netbeans, on pointing to installation location of server, it says <code>C:\Program Files\glassfish-3.1</code>(<em>my glassfish installation directory</em>) does not have a usable default domain.
  Then on selecting : <code>Register Local Domain</code> it asks for:</p>
  
  <pre><code>Enter the path to a directory that will contain a new domain.
  </code></pre>
  
  <p>On selecting any directory, it says : <code>Unsupported domain at C:\Program Files\glassfish-3.1; Admin-listener is disabled or no enabled http-listener</code></p>
  
  <p>How do I rectify this and add Glassfish support to my netbeans 7.0 ?</p>