• Derek McLean's avatar
    Cannot join room in a cluster after an availability update. · 3c580276
    Derek McLean authored
    When a room occupant sends an availability update to a host in an
    Openfire cluster, other users cannot join the room from other hosts in
    the cluster. The availability update causes the other hosts to lose an
    occupant's role and affiliation. New occupants encounter an NPE when
    joining and are prevented from joining the room. Specifically, the NPE
    occurs when Openfire attempts to send initial presences for current
    occupants.
    
    Remote hosts in the cluster lose the occupant's association because the
    local room simply broadcasts the presence packet for the occupant's
    availability update. Because it is from the client, this packet does not
    have the occupant's role or affiliation. The remote hosts treat the
    presence packet as the occupant's presence without modification.
    
    This fix changes the order in which Openfire handles an availability
    update. First, it updates its local view of an occupant's presence. This
    populates the correct association. Then, it broadcasts the updated
    presence to remote hosts in the cluster.
    3c580276
Name
Last commit
Last update
..
bin Loading commit data...
conf Loading commit data...
database Loading commit data...
i18n Loading commit data...
java Loading commit data...
javadoc/jdk15 Loading commit data...
plugins Loading commit data...
resources Loading commit data...
security Loading commit data...
spank Loading commit data...
test Loading commit data...
tools/anttask/org/jivesoftware/ant Loading commit data...
web Loading commit data...