aspose file tools*
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Issue with Tomcat and eclipse" Watch "Issue with Tomcat and eclipse" New topic
Author

Issue with Tomcat and eclipse

Nikitha Flores
Greenhorn

Joined: Jun 06, 2013
Posts: 3
Hello
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
Marshal

Joined: May 26, 2003
Posts: 31079
    
163

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
rohit chavan
Ranch Hand

Joined: Oct 08, 2010
Posts: 132

Hi,

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.
Rohit
Nikitha Flores
Greenhorn

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: http://aspose.com/file-tools
 
subject: Issue with Tomcat and eclipse