Message sent / received twice

Hi all,

I am using Smack 3.1.0 to connect to Openfire 3.6.4. Occassionaly, I am receiving a message sent from one client to anther twice. This seems to happen quite randomly. When I switched on XML auditing on the Openfire server I have noticed that each message is handled in openfire twice (as shown below), one for the sender and one for the receiver (right?) … I am suspecting that the message is either being sent / received twice in reality even though I am sending the message to Smack only once. Has anyone every encountered this problem? Any help would be greatly appreciated.

Regards

Chris

**
**

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:17:20:139 PM”>

try 3

F41UM4

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:17:20:140 PM”>

try 3

F41UM4

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:17:30:949 PM”>

try 4

F41UM5

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:17:30:949 PM”>

try 4

F41UM5

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:17:37:566 PM”>

hello

F41UM6

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:17:37:566 PM”>

hello

F41UM6

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:22:52:915 PM”>

hello 1

F41UM7

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:22:52:915 PM”>

hello 1

F41UM7

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:22:55:992 PM”>

hello 2

F41UM8

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:22:55:992 PM”>

hello 2

F41UM8

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:22:58:063 PM”>

hello 3

F41UM9

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:22:58:063 PM”>

hello 3

F41UM9

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:23:07:750 PM”>

hello 4

F41UM10

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:23:07:750 PM”>

hello 4

F41UM10

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="c587936e" status="auth"

timestamp=“Apr 11, 2011 04:23:27:148 PM”>

from username 1

F41UM11

<packet xmlns="[http://www.jivesoftware.org](http://www.jivesoftware.org)" streamID="eba898e0" status="auth"

timestamp=“Apr 11, 2011 04:23:27:148 PM”>

from username 1

F41UM11