Linux环境下,为何Tomcat启动失败?
- 内容介绍
- 文章标签
- 相关推荐
本文共计173个文字,预计阅读时间需要1分钟。
相关专题:
cat catalina.out Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 8101; nested exception is:
相关视频教程推荐:linux视频教程
从字面上来看,是我的8101端口被占用了,于是使用命令:
netstat -anp
来查看各端口被进程占用的情况,这个命令输出包括进程的pid,得到这个pid之后,使用命令:
ps -ef|grep PID
即可查看进程的详细情况。
如果确认此进程可停止的话,使用命令:
kill pid
然后重启tomcat就可以了!
相关文章教程推荐:linux教程
本文共计173个文字,预计阅读时间需要1分钟。
相关专题:
cat catalina.out Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 8101; nested exception is:
相关视频教程推荐:linux视频教程
从字面上来看,是我的8101端口被占用了,于是使用命令:
netstat -anp
来查看各端口被进程占用的情况,这个命令输出包括进程的pid,得到这个pid之后,使用命令:
ps -ef|grep PID
即可查看进程的详细情况。
如果确认此进程可停止的话,使用命令:
kill pid
然后重启tomcat就可以了!
相关文章教程推荐:linux教程

