Is it possible to prevent an HA-JNDI client from broadcasting for naming servers after none of the servers specified in the java.naming.provider.url -property have been found. I would need my client to fail if none of those servers are available.
Can you try to set the "DISCOVERY_GROUP" properties (in jndi.properties) to an empty string (or null, or dummy multicast address, etc.) That should do it.