Hi there!
We have the latest Openfire version 3.9.3. We are using pubsubs for lots of purposes, but we've faced strange behavior - somtimes subscribers dont receive pubsub notifications. During our investigation we found out that seems like clearing all cache do the trick.
Here is an example of the stanza
<iq id="uxTFG-4" type="set">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<publish node="http://jabber.org/protocol/scsettings">
<item id="o8acGo0">
<scsettings xmlns="http://jabber.org/protocol/scsettings">
<scsupported>true</scsupported>
<formyeyes>false</formyeyes>
<email>false</email>
<rooted>true</rooted>
<ptt>true</ptt>
<headset>false</headset>
<files>true</files>
<photo>true</photo>
<video>true</video>
<nickname />
</scsettings>
</item>
</publish>
</pubsub>
</iq>
and here is example of debug log message regarding pubsub
2014.08.07 07:17:45 org.jivesoftware.openfire.http.HttpSession - consumeResponse: org.jivesoftware.openfire.http.HttpSession@3c4c4bb2 status: 3 address: denis4\40lab.priv@mt-lab-server08/Smack id: 9cd30651 presence:
<presence id="c0H5W-155" from="denis4\40lab.priv@mt-lab-server08/Smack">
<show>chat</show>
</presence> rid: 4882101672126101
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_traffic. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: server_sessions. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_rooms. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: conversations. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_users. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: server_bytes. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: sessions. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: packet_count. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: proxyTransferRate. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:46 org.jivesoftware.openfire.reporting.stats.StatsEngine - Stat: muc_occupants. Last sample: 1407410160. New sample: 1407410220
2014.08.07 07:17:47 org.jivesoftware.openfire.http.HttpSessionManager - Session was last active 0 ms ago: denis3\40lab.priv@mt-lab-server08/Smack
2014.08.07 07:17:47 org.jivesoftware.openfire.http.HttpSessionManager - Session was last active 0 ms ago: denis2\40lab.priv@mt-lab-server08/Smack
2014.08.07 07:17:47 org.jivesoftware.openfire.http.HttpSessionManager - Session was last active 2172 ms ago: denis4\40lab.priv@mt-lab-server08/Smack
2014.08.07 07:17:47 org.jivesoftware.openfire.http.HttpSessionManager - Session was last active 0 ms ago: denis1\40lab.priv@mt-lab-server08/Smack
2014.08.07 07:17:49 org.jivesoftware.openfire.http.HttpSession - consumeResponse: org.jivesoftware.openfire.http.HttpSession@39545ad9 status: 3 address: denis2\40lab.priv@mt-lab-server08/Smack id: 12b80d1 presence:
<presence id="uxTFG-169" from="denis2\40lab.priv@mt-lab-server08/Smack">
<show>chat</show>
<c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://www.igniterealtime.org/projects/smack" ver="iliEyYFZ0gLah9P+J1LmgpFGhuI="/>
</presence> rid: 4303311120728950
2014.08.07 07:17:50 org.jivesoftware.openfire.http.HttpSession - consumeResponse: org.jivesoftware.openfire.http.HttpSession@3c4c4bb2 status: 3 address: denis4\40lab.priv@mt-lab-server08/Smack id: 9cd30651 presence:
<presence id="c0H5W-155" from="denis4\40lab.priv@mt-lab-server08/Smack">
<show>chat</show>
</presence> rid: 4882101672126102