for dev and testing purpose i've tried to use a local cluster with 2 local instances.
My setup is :
Entering asadmin then :
> create-domain test-cluster
> start-domain test-cluster
> copy-config default-config cluster-config
> create-cluster --config cluster-config cluster-dev
> create-node-config node1
> create-node-config node2
> create-local-instance --node node1 --cluster cluster-dev cluster-inst1
> create-local-instance --node node2 --cluster cluster-dev cluster-inst2
> start-cluster cluster-dev
> create-jms-resource --restype javax.jms.QueueConnectionFactory --target cluster-dev QCF
> ping-connection-pool QCF
The QCF is just there to get a thing to lookup through JNDI (i've also tried with Custom JNDI resource like String).
The cluster starts gracefully.
Every local instance has HTTP, JMX, ... ports opened but not IIOP ports.
I can use the JMX connection for every cluster instance , HTTP etc ... (but IIOP).
Then i built a standard Java client (not using ACC).
I'm unable to lookup any kind of resource through JNDI and InitialContext : i get a timeout and "could not connect" error on every cluster instance port.
If i deploy the QCF resource on main server and try to get it through JNDI (3700 port), it works perfectly.
If i create two separate domains and set two IIOP ports, i can get two running IIOP ports, it works perfectly.
But it seems that it's impossible (on mac os x and windows 7, not tried on Linux) to have a cluster on a single domain with two local instances and two working IIOP ports (as i said HTTP, JMX, works perfectly).