Failed to route packet

I have a problem when trying to join a room a second time with the same user nickname, using the XIFF library. The server debug log shows:

2007.10.24 19:45:07 Failed to route packet to JID: cf5ea3b2@mark-pc/cf5ea3b2 packet:

<presence to=“cf5ea3b2@mark-pc/cf5ea3b2” from=“flashroom@conference.mark-pc/mark” type=“error”>

<priority>0</priority>

           &lt;x xmlns="http://jabber.org/protocol/muc"/&gt;

<error code=“409” type=“cancel”>

<conflict xmlns=“urn:ietf:params:xml:ns:xmpp-stanzas”/>

</error>

</presence>

I am using the latest code from the Openfire repository and from the XIFF repository.

I am aware that this not the XIFF forum, but it doesn’t seem to be related to that library, as the Flash client still has a socket connection open to the server, and receives nothing back from it.

I found out I had to set the presence of the client to make sure it was “routable” from openfire.