[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1352) Inifinite wait when creating a TreeCache on an existing channel

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed May 21 11:15:59 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBCACHE-1352?page=comments#action_12413553 ] 
            
Manik Surtani commented on JBCACHE-1352:
----------------------------------------

Note that this is not a problem with 2.X.


> Inifinite wait when creating a TreeCache on an existing channel
> ---------------------------------------------------------------
>
>                 Key: JBCACHE-1352
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1352
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.4.1.SP9
>         Environment: Windows XP SP2, WebSphere Application Server 6.0.2.25, J2RE 1.4.2
>            Reporter: Kai Blankenhorn
>         Assigned To: Manik Surtani
>             Fix For: 1.4.X
>
>
> When creating a new TreeCache using the single argument constructor and an existing channel, the startService method hangs infinitely when called.
> Code to reproduce:
> -----
> // Builds a properties String
> JGroupsProperties props = new JGroupsProperties();
> JChannel channel = new JChannel(props.getProps());
> cache = new TreeCache(channel);
> cache.setCacheMode(TreeCache.REPL_SYNC);
> cache.startService();
> -----
> The wait occurs in the following method call:
> Vector(Object).wait(long, int) line: not available [native method]
> Vector(Object).wait() line: 199
> TreeCache.getCoordinator() line: 1840
> TreeCache.determineCoordinator() line: 1818
> TreeCache.startService() line: 1580
> Apparently, the viewAccepted method that should normally notify the members Vector is never called.
> JGroups version is 2.4.2. The JGroups config is almost identical to replAsync-service.xml.

-- 
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