错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is

容器启动报错处理方案:

报错信息:

D:\apache-tomcat-7.0.54\bin\catalina.bat run
[2016-10-14 02:26:31,540] Artifact ink-balance-web:war exploded: Server is not connected. Deploy is not available.
Connected to server
[2016-10-14 02:26:31,562] Artifact ink-balance-web:war exploded: Artifact is being deployed, please wait...
Using CATALINA_BASE:   "C:\Users\mrchen\.IntelliJIdea2016.1\system\tomcat\Unnamed_ink-parent"
Using CATALINA_HOME:   "D:\apache-tomcat-7.0.54"
Using CATALINA_TMPDIR: "D:\apache-tomcat-7.0.54\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.7.0_17"
Using CLASSPATH:       "D:\apache-tomcat-7.0.54\bin\bootstrap.jar;D:\apache-tomcat-7.0.54\bin\tomcat-juli.jar"
错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is: 
java.net.BindException: Address already in use: JVM_Bind
Disconnected from server

处理方案:

(1):运行 cmd  之后输入 netstat -ano 之后会出现列表,在里面找到错误信息中的端口(这里是1099)

错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is_第1张图片


(2)找到这一行后 记下进程号:这里是55512,之后打开任务管理器,进入到详细信息页面,找到pid为55512的进程,选中 点右下角的结束任务即可

错误: 代理抛出异常错误: java.rmi.server.ExportException: Port already in use: 1099; nested exception is_第2张图片


(3)、执行完以上步骤再重启容器,容器正常启动了,恭喜!




你可能感兴趣的:(异常处理,exception,异常,ExportException,java异常,tomcat启动异常)