0 Replies Latest reply on Mar 2, 2012 1:46 PM by Graeme Wallace

    Remote Client - How to connect to EJB Cluster on 7.1 ?

    Graeme Wallace Newbie



      I'm porting a bunch of code from 4.0.5 to 7.1. Got most of it working, but now getting to the point where i need to know

      how to configure a remote client up to a cluster of EJBs.


      In 4.0.5 we set


      jndiProperties.put("jnp.partitionName", partitionName);

      jndiProperties.put("jnp.discoveryGroup", discoveryGroup);

      jndiProperties.put("jnp.discoveryPort", discoveryPort);


      However in 7.1 the new InitialContext(jndiProperties) doesnt work. I managed to get programatic access via the use of the

      PropertiesBasedEJBClientConfiguration, but what do i need to set in order to connect to a cluster ?