powered by Jive Software


My server keeps crashing like every 30 seconds with the following error:

2014.05.03 15:15:16 org.jivesoftware.openfire.nio.ConnectionHandler - Closing session due to exception: (SOCKET, S:  org.apache.mina.filter.codec.ProtocolDecoderException: org.jivesoftware.openfire.nio.XMLNotWellFormedException: Character is invalid in:   (Hexdump: 17 03 01 00 5D 3D 9C F5 59 75 E1 8D 4B 41 29 2C 87 CE A1 84 2D E6 C1 C1 E1 38 3C 20 F7 BE 76 52 AF 41 4C 03 C5 A2 37 81 5F DD 69 4C 41 44 BC D4 B9 B2 2B 94 53 57 41 26 A5 EC 67 7C B7 1E 69 B8 79 52 20 76 7F 74 61 8E 09 6A EE 71 F1 15 7A B6 E9 48 B1 F2 6E AA FB 73 09 48 C1 1C 33 9E DE DA 01 77)  at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:170)  at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)  at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)  at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)  at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:239)  at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:283)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)  at java.lang.Thread.run(Thread.java:679)  Caused by: org.jivesoftware.openfire.nio.XMLNotWellFormedException: Character is invalid in:    at org.jivesoftware.openfire.nio.XMLLightweightParser.read(XMLLightweightParser.java:208)  at org.jivesoftware.openfire.nio.XMPPDecoder.doDecode(XMPPDecoder.java:41)  at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtocolDecoder.java:133)  at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:163)  ... 9 more

When this happens the connection from Spark and my app to the server fails. When I click restore connection in Spark it works again.

It’s a default installation and I installed only one plugin.

Does anybody have an idea what the problem is?


Are you certain Openfire is crashing? You should see some more logs if so. How do you determine that the server has crashed?


Yes it is crashing. The connection dies for a few seconds (all the devices get disconnected) but when I restart my app it works again. These are all the logs I get.