Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

tomcat configuring with eclipse

whats the cause of this error while running tomcat 6.0 on eclipse ide helious:

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).

like image 517
20 revs, 13 users 22% Avatar asked Sep 07 '10 12:09

20 revs, 13 users 22%


People also ask

Does Tomcat come with Eclipse?

By default when Eclipse IDE is downloaded, it doesn't come with Tomcat installed with it. Let us go over all detailed steps to configure Apache Tomcat in an Eclipse environment. Step 1: Download the latest version ( 9.0.

How do I open Tomcat in Eclipse?

Go to the project in the Project Explorer, select the web project, right click and select "Run As", you will see Apache Tomcat, create runtime configuration for the web project by selecting "New" button.

Where is Tomcat preference in Eclipse?

In Eclipse, go to Window > Preferences > Tomcat. If you don't see Tomcat in the high-level preferences tree, you might have the wrong Tomcat plugin, it might not be installed properly, or you might need a clean Eclipse start. Select the appropriate Tomcat version, such as version 7.


2 Answers

Just read the error message: Tomcat is already running.

like image 51
Aaron Digulla Avatar answered Sep 27 '22 20:09

Aaron Digulla


Or:

  • you have tomcat running in your eclipse workspace (solution: stop the server in eclipse or the eclipse process from your task manager)
  • your tomcat is running in the background as a service (solution: kill the tomcat process from your task manager and disable the windows service)
  • the ports tomcat use are used by other programs running in the background (solution: kill the processes using these ports from your task manager)
like image 44
KristofMols Avatar answered Sep 27 '22 20:09

KristofMols