Cause: 8080 ports are occupied (I encountered 8005 of Tomcat is occupied AH) serious: standardserver.await:create[localhost:8005]: java.net.BindException: Address already in Use:jvm_bind at Java.net.PlainSocketImpl.socketBind (Native method) at Java.net.PlainSocketImpl.bind (Unknown source) at Java.net.ServerSocket.bind (Unknown source) at Java.net.serversocket.<init> (Unknown Source) at org.apache.catalina.core.StandardServer.await ( standardserver.java:427) at org.apache.catalina.startup.Catalina.await (catalina.java:757) at Org.apache.catalina.startup.Catalina.start (catalina.java:703) at Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) at Sun.reflect.NativeMethodAccessorImpl.invoke ( Unknown source) at Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown source) at Java.lang.reflect.Method.invoke (Unknown Source) at Org.apache.catalina.startup.Bootstrap.start ( bootstrap.java:322) at Org.apache.catalina.startup.Bootstrap.main (Bootstrap.javA:450)
This indicates that port 80 (which is Tomcat's listening port) has been occupied by other programs, using the command Prompt "Netstat-ano" command to display the port status, find the port in the result, and then find its corresponding program based on its PID in the input "tasklist" command display.
To identify the source of the procedure and to take appropriate measures. Methods can be used as follows: Netstat-ano command results: Proto Local address Foreign address State PID TCP 0.0.0.0:8 0 0.0.0.0:0 Listening 2544 TCP 0.0.0.0:100 0.0.0.0:0 Listening 2544 TCP 0.0.0.0:135 0.0.0.0:0 listening 1404 TCP 0.0.0.0:445 0.0.0 .0:0 Listening 4 TCP 0.0.0.0:1110 0.0.0.0:0 listening 228 TCP 127. 0.0.1:1025 0.0.0.0:0 listening 1052 TCP 127.0.0.1:1159 127.0.0.1:1110 Close _wait 2992 TCP 127.0.0.1:1297 127.0.0.1:1110 close_wait 2992 TCP 127.0.0.1:1324
The 127.0.0.1:1110 close_wait 2992 visible 80 ports are occupied by the PID 2544 process. Using the tasklist command: Image name PID session name Session # Memory Usage ========================= = = ================ ======== ============ System Idle Process
0 Console 0 K System 4 Console 0 264 K WebThunder.exe 2544 Console 0 12,120 K java.exe 2884 Console 0 6,296 k Tasklist.exe 3464 Console 0 4,372 k visible 2544 is the WebThunder.exe process. Turn it off. Restart Tomcat.
Ok. I used this method to look for a python.exe process that takes up the port and then checks that the Plone program occupies 8080 ports. So close it.
1, the stand-alone Tomcat is not turned off. Automatically run from the installed Tomcat program, or run it before, close myecplipse or JBuilder, find the Tomcat process in Task Manager, and kill it. You can. Sometimes when Tomcat shuts down illegally, it still exists in the process and still consumes 8080 ports. So just kill the process.
2, other software has been installed to occupy the Tomcat port. Check with a tool that can view the ports, or get rid of the default port for Tomcat.
To tell you the truth, this article is well written, it is not said how to end the process, the process is not in the process manager.