"Address Already in use"-exception
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rajiv_rangan
Posted On:   Monday, August 13, 2001 09:05 PM


When restarting Apahce Tomcat on Linux(Solaris machine),'Address already in use exception' is thrown.

Re: "Address Already in use"-exception

Posted By:   Ashish_Bajpai  
Posted On:   Friday, September 7, 2001 10:44 AM

It occurs sometimes .I was also facing the same problem.
So what I did was founded the processes running on that machine and killed the process which was for tomcat server.
Then when I started the server , I did'nt get the exception .
Or the other solution can be go to server.xml and change the port no. in that and then restatrt the server.

Re: "Address Already in use"-exception

Posted By:   Alex_Chaffee  
Posted On:   Friday, September 7, 2001 09:36 AM

Re: "Address Already in use"-exception

Posted By:   Luigi_Viggiano  
Posted On:   Tuesday, August 14, 2001 05:33 AM

This is saying to you that another server is listening to the port on wich you are trying to bind tomcat, so it is unable to start it. If you try to start tomcat twice this happens for sure, because the first instance takes the control of the port (usually 8080) and the second one is unable to start on the same port.

Re: "Address Already in use"-exception

Posted By:   Christopher_Pickslay  
Posted On:   Tuesday, August 14, 2001 12:28 AM

Only when restarting? Are you sure the shutdown succeeds before it attempts to start back up?
About | Sitemap | Contact