一台机器启动两个tomcat提示this web application instance has been stopped already

一台机器启动两个tomcat

server.xml connector里面port换一个新端口,然后启动进程

启动不了,日志里面catalina.out里面总显示

Illegal access: this web application instance has been stopped already.  Could not load net.rubyeye.xmemcached.exception.UnknownCommandException.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException。。。。。。。。

什么意思?没明白?指的是什么?

找到问题很重要,在localhost的log日志文件下面看吧,这里面就显示了具体错误原因

访问zookeeper的端口冲突

换一个新端口就ok了,在一台服务器上,一个端口对应一个进程。

posted @ 2017-01-11 16:50  火耳33  阅读(4440)  评论(0编辑  收藏  举报