File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Issue with Tomcat and eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Issue with Tomcat and eclipse" Watch "Issue with Tomcat and eclipse" New topic

Issue with Tomcat and eclipse

Nikitha Flores

Joined: Jun 06, 2013
Posts: 3
I am new to servlets.I have installed eclipse juno and installed Apache tomcat 6.0 in it.I wrote hello world in servlets and tried to execute it.I end up with http-404 error.I have oracle database client at 8080.So i changed the connector port to 8081 in config.Still i find in the eclipse console that tomcat is running on 8080.I am clueless as i am new to it.
Sometimes I get this error also."several ports(8080,8009)required by tomcat are already in use.

Can someone help me?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33132

You are going to need to see what is running on port 8080. (in windows you do this with netstat). It could be Oracle wasn't shut down after you changed the port. It could be something else.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
rohit chavan
Ranch Hand

Joined: Oct 08, 2010
Posts: 132


Just try changing all the ports for tomcat server. have you configured it through eclipse? if yes, then you can see it in servers tab.
double click the server name and change the port numbers, (or just increment every port by 1).
and restart the server.

Hope this helps.
Nikitha Flores

Joined: Jun 06, 2013
Posts: 3
I have changed my tomcat port num.Its working fine now.Thanks for the reply.
I agree. Here's the link:
subject: Issue with Tomcat and eclipse
It's not a secret anymore!