title: Enterprise application build-impl.xml throws error
body: <p>I am using Glassfish-4.0, Netbeans-8. I started trying out a sample enterprise application. I have tried this same tutorial a couple of times trying to get where and when exactly the problem got infused in the application. To my surprise, it is from the onset. Once I create a new application by doing this in Netbeans: </p>
  
  <p>Project => J2EE => Enterprise Application => Entered the project name => selects glassfish and JDK-7 and clicked finished. I tried running this application as is and it throws this error in the <code>build-impl.xml</code> file on this line (this is in the ContactProject-ejb project):</p>
  
  <pre><code>934 &lt;nbdeploy debugmode="false" forceRedeploy="${forceRedeploy}"/&gt;
  </code></pre>
  
  <p>While a similar error throws up in the ContactProject file</p>
  
  <pre><code>&lt;target name="-run-deploy-am" unless="no.deps"&gt;
          &lt;!-- Task to deploy to the Access Manager runtime. --&gt;
          &lt;ant antfile="${project.ContactApp-ejb}/build.xml" inheritall="false" target="-run-deploy-am"/&gt;
          &lt;ant antfile="${project.ContactApp-war}/build.xml" inheritall="false" target="-run-deploy-am"/&gt;
      &lt;/target&gt;
      &lt;target depends="-init-cos,dist-directory-deploy,pre-run-deploy,-pre-nbmodule-run-deploy,-run-deploy-nb,-init-deploy-ant,-deploy-ant,-run-deploy-am,-post-nbmodule-run-deploy,post-run-deploy" name="run-deploy"/&gt;
      &lt;target if="netbeans.home" name="-run-deploy-nb"&gt;
          &lt;nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/&gt;
      &lt;/target&gt;
      &lt;target name="-init-deploy-ant" unless="netbeans.home"&gt;
          &lt;property name="deploy.ant.archive" value="${dist.jar}"/&gt;
          &lt;property name="deploy.ant.resource.dir" value="${resource.dir}"/&gt;
          &lt;property name="deploy.ant.enabled" value="true"/&gt;
      &lt;/target&gt;
      &lt;target depends="dist,-run-undeploy-nb,-init-deploy-ant,-undeploy-ant" name="run-undeploy"/&gt;
      &lt;target if="netbeans.home" name="-run-undeploy-nb"&gt;
          &lt;fail message="Undeploy is not supported from within the IDE"/&gt;
      &lt;/target&gt;
      &lt;target depends="dist" name="verify"&gt;
          &lt;nbverify file="${dist.jar}"/&gt;
      &lt;/target&gt;
  </code></pre>
  
  <p>What exactly could be the problem with this? This is the error when I try running the ejb file. I have searched the log of Glassfish, it's blank, so no indication if whatsoever is going on.</p>
  
  <pre><code>pre-run-deploy:
  In-place deployment at C:\Users\Ken4ward\Documents\NetBeansProjects\ContactApp\ContactApp-ejb\build\classes
  GlassFish Server 4, deploy, null, false
  C:\Users\Ken4ward\Documents\NetBeansProjects\ContactApp\ContactApp-ejb\nbproject\build-impl.xml:935: The module has not been deployed.
  See the server log for details.
  BUILD FAILED (total time: 1 minute 10 seconds)
  </code></pre>