?
Solved

Unable to start Apache Tomcat 6 from eclipse

Posted on 2008-10-28
4
Medium Priority
?
1,503 Views
Last Modified: 2013-12-15
Dear fellow Java developers:

I am trying to launch tomcat 6 from eclipse 3.3 (europa), but it fails while it is in the process of doing so.  I get the following error message:

Port 8005 required by Tomcat v6.0 Server at localhost is 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).

What I don't understand is that I am able to successfuly launch tomcat on my own from the command line, but unable to do so in eclipse.  What gives?

Thanks in advance to all who reply.
Sincerely;
Fayyaz
0
Comment
Question by:fsyed
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 60

Expert Comment

by:Kevin Cross
ID: 22828197
Is the Tomcat started from the command line running?  If so, stop it and then launch from Eclipse and see if it works.  You can also configure Eclipse to define your standalone Tomcat already running on your system.
0
 

Author Comment

by:fsyed
ID: 22828226
Tomcat is not running from the command line right now, which is why I am wondering what is the problem.  I thought I had already defined tomcat from eclipse to run when I configured it initially.  Am I missing something?

Thanks again for your prompt replies!

Sincerely;
Fayyaz
0
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 1500 total points
ID: 22828621
I guess you can double check that the server configured in Eclipse is pointing to the correct install directory for localhost Tomcat install.

I remember there was something like this I had issue, with but can't remember how I fixed it at the moment.  Think I just started the server from the server perspective and associated the projects I wanted to run on it ahead of time.  Think the error was happening when I tried to launch my web projects and they had to go startup the server.  Or maybe I have backwards, but that is what I recall right now.
0
 

Author Closing Comment

by:fsyed
ID: 31511033
My apologies for the very lengthy delay.  The solution was that I simply deleted the tomcat instance, and then installed it on eclipse, and now ti works fine.  Once again, I truly am sorry for not replying earlier.  Thanks again for your time and patience.
0

Featured Post

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question