1.启动第一个实例没问题。
2.启动第二个实例抛出异常:
Resin/4.0.33 can't start -server 'app-0' for watchdog at 127.0.0.1:6600.
Unexpected resin.home mismatch:
CLI resin.home: /usr/local/resin/
watchdog resin.home: /usr/local/resin-translator/
方法:
conf/resin.xml中如下配置,添加watchdog-port="6600", watchdog-port默认为6600端口号,
只需要把这个端口号修改一下就可以,如:
<!-- define the servers in the cluster -->
<server-multi address-list="${app_servers}" id-prefix="app-" port="6800" watchdog-port="6601"/>
一个单机启动多个resin实例
猜你喜欢
转载自divine.iteye.com/blog/1893345
今日推荐
周排行