My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 14: Openfirebug when using java 6
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  Moeh...@gmail.com


 
Project Member Reported by Moeh...@gmail.com, Mar 4, 2008
An unknown bug somewhere, probably in Openfire, causes the subscriber to
recieve publications twice.

Only the windows and linux versions of Openfire seem to be affected. When
running all code on linux and using an Openfire server that is running on a
mac, everything works as expected.

Expected: the subscriber should recieve the testresult only once.
What happens: the subscriber recieves the testresult two times, with a
different "to" in the message header.

Example of an unexpected result:

<message from="pubsub.localhost" to="kinti@localhost/buckets/logger"
id="kinti/runner/results__kinti@localhost__928Aj"><event
xmlns="http://jabber.org/protocol/pubsub#event"><items
node="kinti/runner/results"><item
id="tag:kinti.code.google.com,1204628288"><result xmlns="">{u\'ftp\':
u\'Plugin ftp cannot be loaded\', u\'ping\':
True}</result></item></items></event><headers
xmlns="http://jabber.org/protocol/shim"><header
name="pubsub#subid">N640OVNaTa0fP7O13VYtdsVicGFd8Rnrzi44YgCm</header></headers></message>

<message from="pubsub.localhost" to="kinti@localhost"
id="kinti/runner/results__kinti@localhost__JPGAM"><event
xmlns="http://jabber.org/protocol/pubsub#event"><items
node="kinti/runner/results"><item
id="tag:kinti.code.google.com,1204628288"><result xmlns="">{u\'ftp\':
u\'Plugin ftp cannot be loaded\', u\'ping\':
True}</result></item></items></event><headers
xmlns="http://jabber.org/protocol/shim"><header
name="pubsub#subid">SVm3g8vMnimm4aba2jh26YXTG8dxA29jC6nEFS30</header></headers></message>

Workaround: check the "to"-header and process only relevant messages,
therefore discarding the second message.
Mar 4, 2008
Project Member #1 Moeh...@gmail.com
The bug is caused by Java 1.6. When using Java 1.5, there is no problem at all.
Summary: Openfirebug when using java 6
Labels: -OpSys-Linux -OpSys-Windows OpSys-All

Powered by Google Project Hosting