我出现此情况的解决是下面粗体显示的。
http://stackoverflow.com/questions/5064733/several-ports-8005-8080-8009-required-by-tomcat-server-at-localhost-are-alre
I'm getting the following error when I try to run a simple JSP program on Tomcat in Eclipse.
Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at 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've another instance of Tomcat already running. You can confirm this by going to http://localhost:8080
in your webbrowser and check if you get the Tomcat default home page or a Tomcat-specific 404 error page.
Both are equally valid evidence that Tomcat runs fine; if it didn't, then you would have gotten
a browser specific HTTP connection timeout error message.
You need to shutdown it. Go to /binsubfolder of the Tomcat installation folder and execute the shutdown.
bat(Windows) or shutdown.sh(Unix) script. If in vain, close Eclipse and then open the task manager
and kill all java and/or javaw processes. Or if you actually installed it as a Windows service for some reason,
open the services manager (Start > Run > services.msc) and stop the Tomcat service.
Or if your actualintent is to run two instances of Tomcat simultaneously, then you have to configure
the second instance to listen on different ports. Consult the Tomcat documentation for more detail.
当尝试在Eclipse中运行简单的JSP程序时,可能会遇到Tomcat v6.0服务器在本地主机上的端口(8005, 8080, 8009)已被使用的情况。这可能是由于另一个进程正在运行或者系统进程占用该端口。为了解决此问题,您需要停止占用端口的其他进程或更改端口号。博客提供了确认Tomcat运行状态的方法,并指导如何关闭已运行的Tomcat实例。
640

被折叠的 条评论
为什么被折叠?



