1 2 Previous Next 17 Replies Latest reply on Jun 3, 2008 6:03 AM by manik Go to original post
      • 15. Re: Remoting On Existing POJO Channel
        manik

        Yes, this is indeed an issue. Could you pls raise a JIRA for this, and tag it for 1.4.X? Thanks.

        • 16. Re: Remoting On Existing POJO Channel
          kblanken

          For all readers, the issue is http://jira.jboss.com/jira/browse/JBCACHE-1352.

          I fear the workaround you propose will not work for us, as deploying as an MBean is not an option.

          What are the plans regarding the next SP for 1.4.1?
          Do you expect the workaround of adding the channel members to the cache's members manually to have any side effects?

          View view = channel.getView();
          if (cache.getMembers()==null || cache.getMembers().size()==0) {
           cache.getMembers().addAll(view.getMembers());
          }

          I've also patched TreeCache so if an existing channel is used, the _createService() method does not return but continues through the rest of the method. This is much cleaner and seems to work. I can attach the patch to the issue if this helps.

          • 17. Re: Remoting On Existing POJO Channel
            manik

            I wasn't suggesting deploying as an MBean, just not creating a channel beforehand and passing the channel into JBC. You could just allow JBC to create the channel for you.

            Please do post your patch to JIRA - I have no immediate plans for another SP on 1.4.X, but will be willing to make another release if need be.

            1 2 Previous Next