powered by Jive Software

Openfire Ping or Pong problem

After run openfire 3.8.2 for servlet days, the error log often show this kind of error:

2013.07.03 01:07:13 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to error while processing message:

java.lang.NullPointerException

at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:114)

at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76)

at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:337)

at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:93)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:302)

at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:194)

at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived (AbstractIoFilterChain.java:570)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimplePr otocolDecoderOutput.java:58)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:185)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(Ab stractIoFilterChain.java:299)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceive d(AbstractIoFilterChain.java:648)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :239)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

at java.lang.Thread.run(Thread.java:662)

then I check the XEP-0199: XMPP Ping at http://xmpp.org/extensions/xep-0199.html

and my server info is:

Server Uptime:
11 days, 23 hours, 34 minutes – started Jun 21, 2013 9:57:13 AM
Version:
Openfire 3.8.2
Server Directory:
/data/openfire
Server Name:
push-server
Java Version:
1.6.0_38-ea Sun Microsystems Inc. – Java HotSpot™ Server VM
Appserver:
jetty/7.x.y-SNAPSHOT
Host Name:
push-server
OS / Hardware:
Linux / i386
Locale / Timezone:
en / Hong Kong Time (8 GMT)
Java Memory



49.50 MB of 451.56 MB (11.0%) used

I check the IQ:

To=“push-server”

From=“push-server/cf664b5a”

this seems like a **Server-to-Server Pings ? **

So I confuse where is the IQ come from ? or why the server want to ping itself so often?

does any one know the reason of this phenomenon~ thanks a lot…

is there any body know what it has happened?

some body help?~~~