title: Can't start GlassFish server - The module has not been deployed
body: <p>I've just installed Netbeans 7.4 on a new computer and cloned my project (created in Netbeans 7.3) from GitHub. However when I try to run it Glassfish fails to start and I can't figure out why.</p>
  
  <p>Project log:</p>
  
  <pre><code>In-place deployment at D:\Users\Me\Documents\NetBeansProjects\CarRentalProject\build\web
  GlassFish Server 4.0, deploy, null, false
  D:\Users\Me\Documents\NetBeansProjects\CarRentalProject\nbproject\build-impl.xml:1033:     The module has not been deployed.
  See the server log for details.
  BUILD FAILED (total time: 0 seconds)
  </code></pre>
  
  <p>GlassFish log:</p>
  
  <pre><code>SEVERE:   Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method
  SEVERE:   java.lang.RuntimeException: Invalid resource : danu6__pm
  </code></pre>
  
  <p>The database I'm trying to connect to is called danu6, but I don't know where the __pm suffix is coming from, and I don't know how to change it. </p>