powered by Jive Software

Issue with offline messages

Once plugin.broadcast.all2offline is set to true, Openfire neither send broadcast message to online nor offline user. Once it set to true messages are being delivered to all user what currently online.
Everything else works well. What can be wrong in the configuration of the server?

I am using
CentOS 8
OF 4.7.0
Java Version: 1.8.0_312 Red Hat
Broadcast Plugin 1.9.2
Ldap config
external mysql database

Error log:

2022.01.21 08:30:05 ERROR [socket_c2s-thread-2]: org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message: <message type="chat" to="all@broadcast.xxxx.xxx" id="F73701D0-4B14-4753-A36E-4218447F64A3"><body>Test2All </body><active xmlns="http://jabber.org/protocol/chatstates"/><request xmlns="urn:xmpp:receipts"/><origin-id xmlns="urn:xmpp:sid:0" id="F73701D0-4B14-4753-A36E-4218447F64A3"/></message>
java.lang.AbstractMethodError: org.igniterealtime.openfire.plugins.pushnotification.PushInterceptor.messageStored(Lorg/jivesoftware/openfire/OfflineMessage;)V
    at org.jivesoftware.openfire.OfflineMessageStrategy.store(OfflineMessageStrategy.java:201) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.OfflineMessageStrategy.storeOffline(OfflineMessageStrategy.java:145) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.MessageRouter.routingFailed(MessageRouter.java:268) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:378) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:134) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:79) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:59) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.component.InternalComponentManager.sendPacket(InternalComponentManager.java:340) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.plugin.BroadcastPlugin.processMessage(BroadcastPlugin.java:241) ~[?:?]
    at org.jivesoftware.openfire.plugin.BroadcastPlugin.processPacket(BroadcastPlugin.java:183) ~[?:?]
    at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:863) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:541) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:354) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.MessageRouter.route(MessageRouter.java:134) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:79) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.net.StanzaHandler.processMessage(StanzaHandler.java:411) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.net.ClientStanzaHandler.processMessage(ClientStanzaHandler.java:109) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:235) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:198) ~[xmppserver-4.7.0.jar:4.7.0]
    at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:183) [xmppserver-4.7.0.jar:4.7.0]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:1015) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:122) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
    at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:413) [mina-core-2.1.3.jar:?]
    at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:257) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:650) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1300(DefaultIoFilterChain.java:49) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:1128) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:106) [mina-core-2.1.3.jar:?]
    at org.apache.mina.core.session.IoEvent.run(IoEvent.java:89) [mina-core-2.1.3.jar:?]
    at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:766) [mina-core-2.1.3.jar:?]
    at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:758) [mina-core-2.1.3.jar:?]
    at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:697) [mina-core-2.1.3.jar:?] `

Thx in advance
Regs,
Andre

This problem appears to be caused by the PushNotification plugin for Openfire. What version of the plugin are you using? Does the problem still occur after you upgrade to the latest version of the plugin?