title: Publishing to Glassfish 4 at localhost [domain1] has encountered
body: <p>I am getting the following errors when I try to run a web app in eclipse using glassfish server.</p>
  
  <p>I have 3 folder namely; Testdb, TestdbEJB and TestdbWeb. Can someone help me to resolve this issue please?</p>
  
  <blockquote>
    <p>cannot Deploy Testdb deploy is failing=Error occurred during
    deployment: Application Testdb is trying to use the same repository
    directory as application TestDb, please choose a different application
    name to deploy.</p>
  </blockquote>