AnsweredAssumed Answered

SparkWeb getting "not authorized" error

Question asked by jokey on Aug 3, 2008
Latest reply on Nov 21, 2008 by Dele Olajide

Hi there

 

I just added red5.war (from the blog post on the front page) to my plugins subdir and openfire properly detected it.

Though I don't get a /red5 url on my http bind port.

 

And when running sparkweb via normal http server and telling it about server and port to use for socket connect, I get this in warn.log:

 

2008.08.03 09:15:00 Closing session due to exception: (SOCKET, R: /84.46.10.95:53203, L: /217.110.206.14:5222, S: orion7.di
gital-server.de/217.110.206.14:5222)                                                                                       
org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.Exception: Disallowed character (Hexdump: 3C 70 6F 6C 69 6
3 79 2D 66 69 6C 65 2D 72 65 71 75 65 73 74 2F 3E 00)                                                                     
        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.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80)                                 
        at org.jivesoftware.openfire.plugin.RawPrintFilter.messageReceived(RawPrintFilter. java:57)                        
        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: 885)                            
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)                                 
        at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)                                 
        at java.lang.Thread.run(Thread.java:619)                                                                           
Caused by: java.lang.Exception: Disallowed character                                                                      
        at org.jivesoftware.openfire.nio.XMLLightweightParser.read(XMLLightweightParser.ja va:210)                         
        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)                 
        ... 14 more

Outcomes