powered by Jive Software

Fastpath Webchat - "Routing your request" forever, chat does not start

We have the Problem that after the client has filled out the chat form in browser and sends the chat request, he get “Routing your request” forever and the the que information view is contoniously updated (see firebug log below), but although the fastpath agent accepted the request popup from spark, the client don’t get redirected to the chat site.

Btw. i can see correct agent count and customer que count in admin panel while testing this.

Please help!

Our hostname is lpsrvname.domain.loc and our xmpp domain is mysrv.domain.loc. Both names get resolved to the same ip, Both are known in DNS.

Here our chat settings from “openfire/plugins/webchat/WEB-INF/chat-settings.xml”

infomine.dsv-gruppe.de

5222

false

-1

Here is the firebug log:

172.16.104.16 - - [17/Nov/2011:12:24:34 +0100] “POST /webchat/dwr/exec/room.getChatQueue.dwr HTTP/1.1” 200 286 “http://mysrv.domain.loc/webchat/queue.jsp” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2”

172.16.104.16 - - [17/Nov/2011:12:24:39 +0100] “POST /webchat/dwr/exec/room.getChatQueue.dwr HTTP/1.1” 200 285 “http://mysrv.domain.loc/webchat/queue.jsp” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2”

172.16.104.16 - - [17/Nov/2011:12:24:44 +0100] “POST /webchat/dwr/exec/room.getChatQueue.dwr HTTP/1.1” 200 286 “http://mysrv.domain.loc/webchat/queue.jsp” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2”

172.16.104.16 - - [17/Nov/2011:12:24:49 +0100] “POST /webchat/dwr/exec/room.getChatQueue.dwr HTTP/1.1” 200 286 “http://mysrv.domain.loc/webchat/queue.jsp” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2”

172.16.104.16 - - [17/Nov/2011:12:24:54 +0100] “POST /webchat/dwr/exec/room.getChatQueue.dwr HTTP/1.1” 200 286 “http://mysrv.domain.loc/webchat/queue.jsp” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2”

172.16.104.16 - - [17/Nov/2011:12:24:59 +0100] “POST /webchat/dwr/exec/room.getChatQueue.dwr HTTP/1.1” 200 286 “http://mysrv.domain.loc/webchat/queue.jsp” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2”

172.16.104.16 - - [17/Nov/2011:12:25:04 +0100] “POST /webchat/dwr/exec/room.getChatQueue.dwr HTTP/1.1” 200 286 “http://mysrv.domain.loc/webchat/queue.jsp” “Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2”

Here is our apache cfg:

<VirtualHost 172.100.80.23:443>

ServerName mysrv.domain.loc

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/account/register.* [NC]

RewriteRule ^(.*)$ / [R=302,NC,L]

ProxyVia On

SSLProxyEngine on

RewriteCond %{HTTP_REFERER} https://mysrv.domain.loc/xmadmin/*

RewriteCond %{REQUEST_URI} !^/xmadmin*

RewriteRule ^/(.*) https://mysrv.domain.loc/xmadmin/$1 [NE]

RewriteCond %{HTTP_REFERER} https://mysrv.domain.loc/xmpresence/*

RewriteCond %{REQUEST_URI} !^/xmpresence*

RewriteRule ^/(.*) https://mysrv.domain.loc/xmpresence/$1 [NE]

SetEnvIf Request_URI ^/xmsupport downgrade-1.0=1

SetEnvIf Request_URI ^/xmsupport proxy-nokeepalive=1

SetEnvIf Request_URI ^/xmsupport no-cache=1

SetEnvIf Request_URI ^/webchat/ downgrade-1.0=1

SetEnvIf Request_URI ^/webchat/ proxy-nokeepalive=1

SetEnvIf Request_URI ^/webchat/ no-cache=1

RewriteCond %{HTTP_REFERER} https://mysrv.domain.loc/xmsupport/*

RewriteCond %{REQUEST_URI} ^/webchat*

RewriteRule ^/webchat/(.*) https://mysrv.domain.loc/xmsupport/$1

ProxyPreserveHost On

ProxyPassMatch /xmadmin/(.*) https://mysrv.domain.loc:9091/$1

ProxyPassMatch /xmpresence/status(.*)https://mysrv.domain.loc:9091/plugins/presence/status$1

ProxyPassMatch /xmsupport/(.*) https://mysrv.domain.loc:9091/webchat/$1

ProxyPassReverse /xmadmin/ https://mysrv.domain.loc:9091/

ProxyPassReverse /xmpresence/https://mysrv.domain.loc:9091/plugins/presence/status

ProxyPassReverse /xmsupport/ https://mysrv.domain.loc:9091/webchat/

RewriteLog /logs/apache2/ssl_rewrite_log

RewriteLogLevel 1

Tx a lot for helping!

Some more information for analyzing this bug:

We us openfire 3.7.1 with ldap on sles11, spark 2.6.3, faspath 4.20 from plugin center and

webchat.war from this thread http://community.igniterealtime.org/thread/44193 )

As soon as i accept request in spark the “in que” count in admin panel que information drops from 1 to 0.

After 10 minutes (Offer Timeout: 20 seconds,Request Timeout: 240 seconds,Overflow Policy: No Overflow.

) i close the chat que window and find following in webchat-error-log)

Nov 11, 2011 3:34:32 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Workgroup must be specified to retrieve image main

Nov 11, 2011 3:34:32 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Workgroup must be specified to retrieve image logo

Nov 11, 2011 3:34:32 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Workgroup must be specified to retrieve image poweredby

Nov 17, 2011 12:11:05 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Unable to join chat queue.

Throwable occurred: No response from the server.:

at com.jivesoftware.smack.workgroup.user.Workgroup.joinQueue(Unknown Source)

at com.jivesoftware.smack.workgroup.user.Workgroup.joinQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.joinQueue(ChatSession.java:240)

at org.jivesoftware.webchat.actions.ChatStarter.startSession(ChatStarter.java:256)

at org.jivesoftware.webclient.jsp.queue_jsp._jspService(queue_jsp.java:75)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 17, 2011 12:20:00 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webclient.jsp.email.leave_002da_002dmessage_jsp._jspService(le ave_002da_002dmessage_jsp.java:72)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:992)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 17, 2011 12:23:34 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 17, 2011 12:28:49 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 17, 2011 12:30:00 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 17, 2011 12:34:01 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 18, 2011 5:41:21 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:992)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 21, 2011 10:17:01 AM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 21, 2011 10:20:59 AM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 21, 2011 10:24:42 AM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

Nov 21, 2011 10:31:36 AM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error closing ChatSession:

Throwable occurred: item-not-found(404)

at com.jivesoftware.smack.workgroup.user.Workgroup.departQueue(Unknown Source)

at org.jivesoftware.webchat.ChatSession.close(ChatSession.java:339)

at org.jivesoftware.webchat.ChatManager.closeChatSession(ChatManager.java:182)

at org.jivesoftware.webchat.ChatUser.removeSession(ChatUser.java:55)

at org.jivesoftware.webclient.jsp.exit_002dqueue_jsp._jspService(exit_002dqueue_js p.java:58)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1216)

at org.jivesoftware.webchat.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi ngFilter.java:45)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.jivesoftware.webchat.SetupFilter.doFilter(SetupFilter.java:92)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1187)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)

at org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:93 3)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:245)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:126)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)

at org.eclipse.jetty.server.Server.handle(Server.java:334)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:1007)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)

at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:4 62)

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)

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

We have similar problem and can’t get it solved - see here

http://community.igniterealtime.org/message/218405#218405

Any help is welcome.

We compiled Openfire and all plugins from the latest source and managed to deploy the same.

Did a few manual tweaks in workgroup.jar META-INF/smack.providers to replace all occurances of .smack. with .smackx. to work-around a few ClassCastExceptions as detailed herein Class cast exception occured on web chat popup window.

Thereafter managed to get the chat user to request a chat and agent could also accept the same. However have hit the same “Routing your request” problem as detailed above, with exactly same issues in the logs.

We managed to get arround this. Details herein.