Solved

Unable to start Apache Tomcat 6 from eclipse

Posted on 2008-10-28
4
1,494 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 59

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 59

Accepted Solution

by:
Kevin Cross earned 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Core Java. What output will be and why ? 6 69
The line on IDE 4 97
JavaFX TableView not displaying correctly 3 109
eclipse console opening separately 2 38
Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deletiā€¦
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to implement Singleton Design Pattern in Java.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

730 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