"Address already in use" error running Tomcat on Apache
1 posts in topic
Flat View  Flat View

Posted By:   Adam_Vinueza
Posted On:   Monday, July 9, 2001 04:02 PM

I'm running Tomcat 3.2.2 through an Apache 1.3.19 server on a Linux box. I shut down Tomcat; when trying to restart, I get the error msg "Address already in use". I read the thread on this topic telling me to fully stop other instances of the servlet engine or another service before restarting Tomcat. The problem is that I'm a Linux newbie, so don't know how to make sure that other instances or servers are fully stopped. Doing a lot of flailing about here. Help!

Re: "Address already in use" error running Tomcat on Apache

Posted By:   Chris_Green  
Posted On:   Thursday, July 12, 2001 11:48 AM

Try doing a "ps -ef | grep java" (I think -ef can work under linux as well). This should give you the tomcat process. Do a "kill -9 #PID" to kill the tomcat process. Have to be root or PID owner to do this. I have experienced this myself while using different unix shells to stop and start. Try sticking with the same shell next time.
About | Sitemap | Contact