Oops, I've mistaken.
It doesn't even work when we do a global lookup and then a ENC lookup...
The ENC context is mapped to local JNDI, so you can't find resources that aren't bound on the local server. You need to configure your InitialContext to use the HA-JNDI service and look up "queue/RssItems".
Note that this doesn't mean "queue/RssItems" has to be bound in the HA-JNDI tree; normally it wouldn't be. The HA-JNDI service can search the local JNDI trees on all server nodes to find a binding.
If we bind the queue to local JNDI server , i am able to lookup through HA JNDI . But does it mean that it is HA Queue. Means Queue is clustered queue.
Also i have made a MBean dependent on HA Queue, but it seems its not able to find queue in HA JNDI. MBean always fails with Queue NOTYETINSTANTIATED.
Thanks and Regards,