jboss clustering @Clustered
無狀態(tài)的session bean,注意標(biāo)注@Clustered是必須的,如果不進(jìn)行標(biāo)注那么這個session bean將不會被集群。同樣有狀態(tài)的session bean的集群聲明也是這樣的
java.lang.IllegalArgumentException: Cannot start post office since there is already a post office in the cluster with the same node id (0). Are you sure you have given each node a unique node id during installation?
If you want to change the ServerPeerID, edit :
server/<configuration (all/default/production)>/deploy/jboss-messaging.sar/messaging-service.xml
and change ServerPeerID from 0 to something unique.
The other suggestion I'd make is that you track down the other SOA platform installation. The IP address of that cluster node should be in your server.log close to the "number of cluster members" statement.
server/<configuration (all/default/production)>/deploy/jboss-messaging.sar/messaging-service.xml
and change ServerPeerID from 0 to something unique.
The other suggestion I'd make is that you track down the other SOA platform installation. The IP address of that cluster node should be in your server.log close to the "number of cluster members" statement.
http://topic.csdn.net/u/20090616/20/2f9e5faf-b99b-446b-94b5-41e18be05892.html
http://blog.knowsky.com/187125.htm
http://blog.csdn.net/woohooli/article/details/4078748
posted on 2011-09-06 20:10 w@ns0ng 閱讀(508) 評論(0) 編輯 收藏 所屬分類: jboss 、Distributed & Cluster