When I try to debug a web application using Tomcat5.5 and Eclipse 3.2 from “debug As” ->”Debug on server”. In the server overview section, server name = “Tomcat v5.5 Server @ localhost”, hostname = “localhost”, runtime = “Apache Tomcat v5.5”, config path = “/Servers/Tomcat v5.5 Server @ localhost-config”, but I got following error:
“Several ports (8005, 8443, 8009) required by Tomcat v5.5 Server @ localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).”
You will need to change the ports in Tomcat's server.xml. I'm not sure how Eclipse uses the various ports, but the three you have listed are for shutdown, https, and ajp. Search for them by number in the server.xml file (in Tomcat's /conf directory). I'm not sure how it works on Windows, but on a Unix system "netstat -na" will show you what ports are active.