title: How do I prevent Netbeans from not being able to start Tomcat because the port is already used?
body: <p>I tend to get this annoying error alot using Netbeans 7.2. The that occassionally comes up is,</p>
  
  <blockquote>
    <p>Starting of Tomcat failed, the server port 8084 is already in use.</p>
  </blockquote>
  
  <p>I'm part of a small group of developers and a couple of us have encountered this, and our solution is to go simply kill the Java process using it.  </p>
  
  <p>However, our boss insists that this isn't necessary and that my "Duct-tape solutions" are NOT adequate. </p>
  
  <p>It's not a task given to me or anything, but it is annoying and I'm wondering if he's right.  Is there a permanent solution to this Apache Tomcat error?  Is there some way for me to configure Apache Tomcat so that this won't happen again?</p>
  
  <h1>Update</h1>
  
  <p>That would also work, but I don't see how that's any better than me going in and killing the stupid process.  Your solution would only mean I have more than one instance of the same app server running.  But, what I wanted was a way to prevent the stupid Apache Tomcat instance from still staying up even though I wanted to kill it using the IDE.</p>