0 Replies Latest reply on Aug 28, 2013 7:32 AM by Thomas Asel

    Extending the distributed Quickstart-Tutorial

    Thomas Asel Newbie

      Hi there,


      I am trying to use the quickstart distributed tutorial as starting point for a more complex scenario. The nodes Node0 - Node2 are connecting to each other automatically. I wonder what needs to be done to configure the nodes so that an external application can connect to the cache.


      Here is how the nodes are configured:

         public static EmbeddedCacheManager createCacheManagerProgramatically() {
            return new DefaultCacheManager(
                        .transport().addProperty("configurationFile", "jgroups.xml")
                  new ConfigurationBuilder()


      And this is the code my application uses to try to connect to the nodes (running on a machine with the ip

      RemoteCacheManager cacheManager = new RemoteCacheManager("");
      cache = cacheManager.getCache("default");


      As far as I understood, the nodes are creating a Hotrod endpoint by default. Thats why the nodes are connecting to each other automatically. But for some reason the application is not able to connect to this node, so the question is what needs to be done to connect them all together?