powered by Jive Software

Some errors found in logs

Hi,

here are some bugs I found in openfire 3.6.3 logs. I hope this helps some developer to track and fix this.

**In warning log (replaced the ips for xxx): **
2009.02.05 06:54:05 Closing session due to exception: (SOCKET, R: /xxx.28.xxx.140:2152, L: /xxx.200.xxx.123:5223, S: 0.0.0.0/0.0.0.0:5223)
org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.Exception: Disallowed character (Hexdump: BE C7 3C 19 61 4F 24 A1 63 C6 1D 05 27 27 5C 52 7A B6 39 B8 FA 91 F3 51 3C 69 7D BB 04 E2 4B 9E 66 EA FE CE 15 BF D2 FE 98 7A 10 90 08 D8 B8 7E 8D CD B6 ED A2 48 EF CF 23 31 CA 10 6D 7A DE 0E A2 4E BB C0 1F 81 EC 5D CF 6C 2E 7D D3 93 C6 A3 AB 6E C1 4D A2 FD F7 F3 8D 06 2B 80 13 0D 04 76 8B 0A E1 C0 A0 DF 07 6C 34 E3 04 7E D3 1D 66 CD F0 A3 6E 06 86 61 4E 97 CB 10 62 CA 93 76 75 5E 64 9F 95 0A 80 D6 E2 22 ED F3 48 B7 4D A1 FC C5 82 A5 C5 F2 E2 A1 BE 24 97 51 85 14 5F CA 5F 78 AB E7 3E 66 D0 31 27 84 5E 4E CF 16 DE 43 73 95 98 FA C3 46 1C CE 67 CE 89 94 14 D7 6F 29 F3 58 B8 1E 07 58 D7 4E 33 EE 68 02 84 23 69 35 C5 A8 C5 F4 DA 77 D7 1E F0 40 DC 80 B2 5B 06 08 94 8E AD 36 99 B1 80 A7 A2 78 7F F2 1F F8 DE 03 1F EB 47 53 D1 9F 3E 85 B5 C2 EF 00 84 AC 81 2E D5 2C 39 DC 97 58 BB 51 23 89 58 42 90 DD 71 ED 8E 9A 7D 57 C7 A8 26 2C 66 28 DF 99 D3 EB 44 D5 89 02 92 78 5F 84 9D EA 7D 22 CF C6 26 FE 8B 51 FB D6 1F F8 A4 C6 40 57 B6 7A 9F 7E 94 18 94 63 88 E0 21 AF 21 76 78 9C E4 6D F8 19 85 12 FA 75 97 DD E7 FF C8 F8 AC 25 22 82 1F 90 A7 CD 3F 5C E3 CA 5F 80 6A BD 9A 2A 47 75 98 20 EC 8A 53 5D 1B D4 94 8B A8 6A 18 7C F3 D8 4E C2 6F 5E E3 75 D5 49 C0 81 B0 95 0E 2D 5E 61 51 25 CE E0 8F 28 CF 0B 73 CC EB 44 95 9D 56 03)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:170)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Disallowed character
at org.jivesoftware.openfire.nio.XMLLightweightParser.read(XMLLightweightParser.ja va:211)
at org.jivesoftware.openfire.nio.XMPPDecoder.doDecode(XMPPDecoder.java:32)
at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtoco lDecoder.java:133)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:163)
… 8 more

In error Log :

2009.02.06 17:34:12 [org.jivesoftware.util.log.util.CommonsLogFactory$1.error(CommonsLogFactory.jav a:88)] Line=19 The content of element type “dwr” must match “(init?,allow?,signatures?)”.

(I think this has something to do with the special character in roster name “loja São Mamede” )

2009.02.02 18:24:27 [org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHand ler.java:135)] Closing connection due to error while processing message: <loja São Mamede>
org.xmlpull.v1.XmlPullParserException: expected = after attribute name (position: END_TAG seen …<loja S\ue3o M… @1:163)
at org.xmlpull.mxp1.MXParser.parseAttribute(MXParser.java:2004)
at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1799)
at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:191)
at org.xmlpull.mxp1.MXParser.nextToken(MXParser.java:1100)
at org.dom4j.io.XMPPPacketReader.parseDocument(XMPPPacketReader.java:317)
at org.dom4j.io.XMPPPacketReader.read(XMPPPacketReader.java:154)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:141)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:133)
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(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thanks