title: NetBeans/Tomcat deployment problem
body: <p>When I tried to run my project in NetBeans 6.9, I got this error:</p>
  
  <blockquote>
    <p>Starting Tomcat process...</p>
    
    <p>Waiting for Tomcat...</p>
    
    <p>Tomcat server started.</p>
    
    <p>Incrementally deploying localhost:8084/hastaneBilgiSistemi</p>
    
    <p>Completed incremental distribution of localhost:8084/hastaneBilgiSistemi</p>
    
    <p>Incrementally redeploying localhost:8084/hastaneBilgiSistemi</p>
    
    <p>Deploy is in progress...</p>
    
    <p>deploy?config=file%3A%2FC%3A%2FUsers%2FyakUP%2FAppData%2FLocal%2FTemp%
    2Fcontext1397063015253659398.xml&amp;path=/hastaneBilgiSistemi<br>
    Connection refused: connect</p>
    
    <p>C:\Users\yakUP\Documents\NetBeansProjects\hastaneBilgiSistemi\nbproject\build-impl.xml:688: The module has not been deployed.
    BUILD FAILED (total time: 40 seconds)</p>
  </blockquote>
  
  <p>How can I fix this?</p>
  
  <p>Today I ve got same error </p>
  
  <pre><code>Incrementally deploying http://localhost:8084/hastaneBilgiSistemi
  Completed incremental distribution of http://localhost:8084/hastaneBilgiSistemi
  Incrementally redeploying http://localhost:8084/hastaneBilgiSistemi
  Deploy is in progress...
  deploy?config=file%3A%2FC%3A%2FUsers%2FyakUP%2FAppData%2FLocal%2FTemp%2Fcontext163067119208813391.xml&amp;path=/hastaneBilgiSistemi
  FAIL - Deployed application at context path /hastaneBilgiSistemi but context failed to start
  C:\Users\yakUP\Documents\NetBeansProjects\hastaneBilgiSistemi\nbproject\build-impl.xml:688: The module has not been deployed.
  BUILD FAILED (total time: 1 second)
  </code></pre>
  
  <p>I ve restarted Nb and pc . Problem didn't resolved. please help me</p>