Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-248

Channel.down() hangs under some circumstances using multiplexer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 2.4
    • 2.3
    • None
    • Workaround Exists
    • Hide

      Don't use the multiplexer with TomcatClusteringCache.

      Show
      Don't use the multiplexer with TomcatClusteringCache.

      If I enable the ClusterPartition and TomcatClusterService mbeans for use with JGroups 2.3 multiplexer, the server startup process will hang when ClusterPartition invokes channel.down(). This is true even if the two services instantiate the multiplexer channel using createMultiplexerChannel(String, String) instead of the state transfer constructor.

      To replicate this problem, the following steps are required.

      1) Modify cluster-service.xml to enable ClusterPartition for multiplexer use (e.g., remove the comments from the Multiplexer attribute).

      2) Modify tc5-cluster.sar\META-INF\jboss-service.xml to enable TomcatClusteringCache for multiplexer use (e.g., remove the comments from the Multiplexer attributes).

      3) JBossCache is currently inhibited from using the multiplexer in TreeCache.setMultiplexer(). The method's setter is commented out and a warning is issued if you attempt to use the multiplexer with JBossCache. If this is still true when you attempt to replicate this issue, you'll need to modify TreeCache.setMultiplexer() to allow the multiplexer to be used.

      Note: I've only been able to replicate this issue when ClusterPartition and TomcatClusteringCache both have the multiplexer enabled. Using other cache services with ClusterPartition doesn't seem to trigger the problem.

            rhn-engineering-bban Bela Ban
            jerrygauth Jerry Gauthier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: