AnsweredAssumed Answered

SparkWeb login problem, disallowed character exception thrown

Question asked by pnewlon on Sep 17, 2008
Latest reply on Nov 18, 2008 by atuleshrao

I have openfire 3.6.0a running, can connect without issue using "Spark". I'm trying to get connected using SparkWeb and struggling a bit.  I've tried several different configurations, based on what I have been able to get out of the discussions here.  The results of the two most-promising are still not working.  There is no firewall running on either the server or the client.  I can provide tcpdump data as well if need be.  Thanks for any assistance! Phil TRYING THIS SparkWeb.html CONFIG: return {       server: "10.255.231.148",       connectionType: "http",       port: "7070" }; This configuration produces no debug log and this warn log.  Note the "disallowed character" 2008.09.17 16:29:51 Closing session due to exception: (SOCKET, R: /10.255.228.10:52849, L: /10.255.231.148:5222, S: 0.0.0.0/0.0.0.0:5222) org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.Exception: Disallowed character (Hexdump: 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 3F 3E 3C 66 6C 61 73 68 3A 73 74 72 65 61 6D 20 74 6F 3D 22 31 30 2E 32 35 35 2E 32 33 31 2E 31 34 38 22 20 78 6D 6C 6E 73 3D 22 6A 61 62 62 65 72 3A 63 6C 69 65 6E 74 22 20 78 6D 6C 6E 73 3A 66 6C 61 73 68 3D 22 68 74 74 70 3A 2F 2F 77 77 77 2E 6A 61 62 62 65 72 2E 63 6F 6D 2F 73 74 72 65 61 6D 73 2F 66 6C 61 73 68 22 20 76 65 72 73 69 6F 6E 3D 22 31 2E 30 22 20 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.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 org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.lang.Thread.run(Unknown Source) 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) CHANGING THE SparkWeb.html CONFIG TO THIS: return {       server: "10.255.231.148",       connectionType: "http",       port: "7070",       bindPath: "/http-bind/",       autoLogin: "false" }; Generates this debug log, no warn log, and the login screen just sits with the button grayed out: 2008.09.17 16:46:41 AuthorizationManager: Trying Default Mapping.map(pnewlon) 2008.09.17 16:46:41 DefaultAuthorizationMapping: No realm found 2008.09.17 16:46:41 AuthorizationManager: Trying Default Policy.authorize(pnewlon , pnewlon) 2008.09.17 16:46:41 DefaultAuthorizationPolicy: Checking authenID realm 2008.09.17 16:46:41 JettyLog: continuation RetryContinuation@31484690,pending,resumed 2008.09.17 16:46:41 JettyLog: resume continuation RetryContinuation@31484690,pending,resumed 2008.09.17 16:46:41 JettyLog: continuation still pending {} 2008.09.17 16:46:41 JettyLog: continuation RetryContinuation@31484690 2008.09.17 16:46:41 JettyLog: continuation RetryContinuation@31484690,pending,resumed 2008.09.17 16:46:41 JettyLog: resume continuation RetryContinuation@31484690,pending,resumed 2008.09.17 16:46:41 JettyLog: continuation still pending {} 2008.09.17 16:46:41 JettyLog: continuation RetryContinuation@31484690

Outcomes