Fastpath - Webclient not joining a room

Hi,

We’re having issues with our webchat installation.

It looks like webchat is randomly throwing errors which result in our employees receiving ‘ghost chats’ where they are the only ones in chat room.

our environment details:

Webchat -> running on tomcat6 (6.0.24) on Ubuntu 10.04 x64 -> servername: frontend01.domain.lan

Openfire -> 3.7.1 running on Ubuntu 10.04 x64 -> servername: webchat01.domain.lan

(from Openfire console):

Server Information:

Server Name: webchat

System Properties:

xmpp.domain: webchat

webchat.domain.lan is a CNAME for webchat01.domain.lan

The webchat error correlated with this behaviour is:

Mar 30, 2012 9:42:49 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Unable to join chat queue.

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.apache.jsp.queue_jsp._jspService(queue_jsp.java:91)

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

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

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)

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

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:206)

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

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:206)

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

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:235)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 191)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 9)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11P rotocol.java:588)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

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

Any help will be gratly appreciated

Thanks in advance,

Jakub

Very strange. Looking at your log:

Mar 30, 2012 9:42:49 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Unable to join chat queue.

No response from the server.:

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

It’s trying to find workgroup.user.workgroup in smack, not smackx… In my source, there is no “smack.workgroup”. Did you modify the source that significantly? If so, I’m not sure if we can be much help without more info.

I can produce a similar error, by puting special characters in the customer’s name, but this error occurs after the queue has been joined, and it’s trying to join the room. (whereas yours looks to be occuring when webchat is trying to join the queue). My error looked like this:

Jun 26, 2012 5:58:22 PM org.jivesoftware.webchat.util.WebLog logError

WARNING: Error joining room:

No response from server.:

at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:507)

at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:394)

at org.jivesoftware.webchat.ChatSession.joinRoom(ChatSession.java:469)

at org.jivesoftware.webchat.ChatSession$2.invitationReceived(ChatSession.java:257)

at org.jivesoftware.smackx.workgroup.user.Workgroup.fireInvitationEvent(Workgroup.java:503)

at org.jivesoftware.smackx.workgroup.user.Workgroup.handlePacket(Workgroup.java:59 1)

at org.jivesoftware.smackx.workgroup.user.Workgroup.access$300(Workgroup.java:60)

at org.jivesoftware.smackx.workgroup.user.Workgroup$3.processPacket(Workgroup.java :139)

at org.jivesoftware.smack.Connection$ListenerWrapper.notifyListener(Connection.jav a:813)

at org.jivesoftware.smack.PacketReader$ListenerNotification.run(PacketReader.java: 456)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

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)

Note the bolded section where workgroup is in smackx, not smack.

I’d like to help, but I can’t see the code your log is referring to. :-/

Jeff

Hi Jeff,

We didn’t really modify the source - I’ve attached the config we’re currently using.

Thanks for your reply!

Cheers,

Jakub
webchat.tgz (2385749 Bytes)