File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes java.net.bindexception:address already in use Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "java.net.bindexception:address already in use" Watch "java.net.bindexception:address already in use" New topic
Author

java.net.bindexception:address already in use

swetha muthyapu
Greenhorn

Joined: Apr 04, 2009
Posts: 1
Hi I have JDk 1.3 and Apache Tomcat 4.0in my system.When i try to start the server i get the following java.net.bindexception:address already in use
I have checked that Tomcat server is listening at port 8080 and no other application is using this port.Can someone suggest what to do?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60741
    
  65

Please be sure to ask Tomcat questions in the Tomcat forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60741
    
  65

The most likely reason is that Tomcat is already running.
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874



If you are not sure other applications use 8080 port , May be try changing the port no in "server.xml" and see if it works.
Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear swetha,

Please post the entire stack trace for us to look at, not your interpretation of it. The stack trace may reveal things that you have overlooked.

(as an aside and unrelated to your problem, Java 1.3 and Tomcat 4 are really, really old. Both EOSL. Please upgrade)


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.net.bindexception:address already in use
 
Similar Threads
Issues with Starting Tomcat server in Ecllipse
Tomcat
portscanner from serverside
Tomcat5.5
Server port number