Idea to start Tomcat error, error running tomcat7.0.52:address localhost:1099 is already in use or java.rmi.server.ExportException : Port already in use:1099, which indicates that 1099 ports are occupied by other processes.
Workaround:
1. Win+r, run, enter cmd, enter command prompt
2. Enter Netstat-aon | findstr 1099, find the process ID that occupies 1099 ports:PID
3. Input taskkill-f-pid pid
4. Restart Tomcat
If you receive a prompt for insufficient action permissions when you perform step 3rd, when step 1th enters the command prompt, the attachment-> right-> runs the-> command prompt as an administrator, and then executes the following steps.
The 3rd step can also first use the command tasklist | findstr PID to view the process name, and then Task Manager-> show the process-> end process for all users.
Reference when starting Tomcat error: Agent throws exception: Java.rmi.server.ExportException:Port already in use:1099 solution