Resin/4.0.32: server '' does not match a unique <server> or <server-multi>
按照http://www.cnblogs.com/edwardlauxh/archive/2012/12/08/2808360.html网址进行resin集群,启动时报错:
Resin/4.0.32: server '' does not match a unique <server> or <server-multi>
with a unique local IP in /home/resin-pro-4.0.32/conf/resin.xml.
错误resin.properties配置为:
# web-tier Triad servers: web-0 web-1 web-2
web_servers : 127.0.0.1:6810
# app-tier Triad servers: app-0 app-1 app-2
app_servers: 127.0.0.1:6800 \
127.0.0.1:6801
正确配置:
# web-tier Triad servers: web-0 web-1 web-2
web_servers : 127.0.0.1:6810
# app-tier Triad servers: app-0 app-1 app-2
app_servers: 192.168.0.1:6800 \
192.168.0.2:6801
只要把IP修改成内网IP地址就可以了。
以下是官网的配置http://www.caucho.com/resin-4.0/admin/clustering-overview.xtp