[jboss-jira] [JBoss JIRA] Commented: (JGRP-737) Shared transport protocols use stack field from first channel created

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Apr 30 09:01:19 EDT 2008


    [ http://jira.jboss.com/jira/browse/JGRP-737?page=comments#action_12411314 ] 
            
Bela Ban commented on JGRP-737:
-------------------------------

I'm looking into making the timer a JVM singleton, shared by all JGroups channels within the same JVM. This makes sense, as the *configuration* of the timer is done via system properties, which kind of already implies a JVM singleton

> Shared transport protocols use stack field from first channel created
> ---------------------------------------------------------------------
>
>                 Key: JGRP-737
>                 URL: http://jira.jboss.com/jira/browse/JGRP-737
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 2.6.2
>            Reporter: Brian Stansberry
>         Assigned To: Bela Ban
>            Priority: Critical
>             Fix For: 2.6.3, 2.7
>
>
> For example, TP.timer is set to TP.stack.timer.  TP.stack belongs to an individual channel, not to the set of channels associated with a shared transport.
> Disconnect the first channel and the others go boom.
> Did a quick scan of usage of the 'stack' field or the 'getProtocolStack()' method in TP and its subclasses.  This usage for the timer is one. Others are:
> 1) TCP.getConnectionTable calls cTable.setThreadFactory(getProtocolStack().getThreadFactory());
> 2) handleDiagnosticProbe uses stack.getChannel()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list