Tomcat – Can’t stop tomcat6

tomcat

I'm not able to stop tomcat. I'm running on Fedora 13, and stopping the service in the usual way:

/etc/init.d/tomcat6 stop

but I get a FAILED message. Catalina.out says:

Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 8086; nested exception is:
    java.net.BindException: Address already in use

Thanks

Best Answer

Find process, who listens 8086:

lsof -i :8086

and kill

kill -9 PID

Or stop all Java application:

 killall java

if it does not help

 killall -9 java