When I tried to create a cluster as the picture I have attached shows, It is failed because of the "java.lang.ClassCastException:".
Here's some of the failure exception in the server.log:
[2013-08-30T17:37:28.473+0800] [glassfish 4.0] [SEVERE]  [org.glassfish.admingui] [tid: _ThreadID=47 _ThreadName=admin-listener(4)] [timeMillis: 1377855448473] [levelValue: 1000] [[
java.lang.Boolean cannot be cast to java.lang.String;
java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String;
BTW: I have also confirmed that the cluster with jms option can be created in the glassfish v3.1.2, but it is failed in the glassfish v4. So I regarded it as a rollback issue in the glassfish v4.