dev@glassfish.java.net

set the gms-enabled attribute to true in multiple clusters

From: <jifeng_at_cn.fujitsu.com>
Date: Tue, 25 Mar 2014 02:52:34 +0000

Hi
Glassfish Dev Team

when deploying an EJB application, the following exceptions will be thrown out to the server.log:
java.lang.IllegalStateException:
Use getGMSAdapterByName method when there are multiple clusters

Here's my reproduced steps:
1:create-cluster c1
2:create-local-instance --cluster c1 inst1
3:set clusters.cluster.c1.gms-enabled=true
4:create-cluster c2
5:creaate-local-instnace --cluster c2 inst2
6:set clusters.cluster.c2.gms-enabled=true
7:stop-domain
8:start-domain
9:deploy an EJB application
after step 9, the exceptions will be thrown out to the server.log

Glassfish doesn't support the feature about setting the gms-enabled's attribute into true in multi-clusters. Is that the right scenarios?