1 Reply Latest reply on Jul 24, 2006 10:02 AM by Brian Stansberry

    TreeCache.startService() hang

    guava Newbie

      Hi,

      I'm on JbossCache-1.4.0GA. I seem to have problem creating TreeCache using an already connected JChannel.

      =========================
      Channel channel = new JChannel();
      channel.connect("COCO");
      TreeCache tcache = new TreeCache((JChannel)channel);
      tcache.setClusterName("COCO_CACHE");
      tcache.setCacheMode(TreeCache.REPL_SYNC);
      tcache.startService();
      =========================

      startService() hangs at
      stateLock.wait() of fetchStateOnStartup()

      I'm probably not using it correctly. Thanks for any help.

      Joe