Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » web project in eclipse doesn't find tomcat
web project in eclipse doesn't find tomcat [message #517453] Sun, 28 February 2010 07:49 Go to next message
moshi  is currently offline moshi Friend
Messages: 28
Registered: November 2009
Junior Member
Hi, I created a new web project using eclipse. I put in it a simple html file, and tried to run it.
I selected the "run on server" option.
I was asked to choose the web server I want to use.
I was asked to choose: "tomcat server v6.0 at local host" - "STOPPED",
or to "manually define a new server".
Because my tomcat in signed as "stopped" (I don't know how, since it is running),
I chose the second choice: "manually define...", and "defined" my server, by choosing
manually from the list: tomcat 6.
I got an error of:

Several ports (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).

my tomcat is running on : localhost:8080
port 8009 in avalable. I know it since I did: netstat -an , and saw that 8009 is listening.

What should I do?
Thanks a lot for any help.
Re: web project in eclipse doesn't find tomcat [message #517614 is a reply to message #517453] Mon, 01 March 2010 14:26 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
moshi wrote:
> Hi, I created a new web project using eclipse. I put in it a simple html
> file, and tried to run it.
> I selected the "run on server" option.
> I was asked to choose the web server I want to use. I was asked to
> choose: "tomcat server v6.0 at local host" - "STOPPED",
> or to "manually define a new server".
> Because my tomcat in signed as "stopped" (I don't know how, since it is
> running),
> I chose the second choice: "manually define...", and "defined" my
> server, by choosing
> manually from the list: tomcat 6.
> I got an error of:
> Several ports (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).
>
> my tomcat is running on : localhost:8080
> port 8009 in avalable. I know it since I did: netstat -an , and saw that
> 8009 is listening.
>
> What should I do?
> Thanks a lot for any help.

How was the running Tomcat started, within Eclipse or externally? If
externally, see the Tomcat FAQ[1] for details about the Tomcat support
within Eclipse. The WTP Tomcat support assumes by default that the
installed Tomcat should not be interfered with. The Tomcat server
created within Eclipse is a separate server, port conflicts not
withstanding.

Cheers,
Larry

[1] http://wiki.eclipse.org/WTP_Tomcat_FAQ
Previous Topic:Query on RAD with open source tools
Next Topic:Application Server + Eclipse = Page cannot be found.
Goto Forum:
  


Current Time: Tue Mar 19 07:08:45 GMT 2024

Powered by FUDForum. Page generated in 0.01792 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top