4 Replies Latest reply on Oct 3, 2013 9:05 AM by nva

    QueueUnavailableException: "Slow" clients

    Michael Anstis Newbie

      Hi,

       

      I've noticed if our client takes a long time to start-up (e.g. in DevMode) we receive the below error. Refreshing the browser re-loads the application and the error does not repeat.

       

      Is there something I can do to ensure the client registers it's existence as soon as possible (e.g. in the EntryPoint) or does this suggest I have another problem?

       

      Thanks,

       

      Mike

       

      org.jboss.errai.bus.server.QueueUnavailableException: no queue available to send. (queue or session may have expired): (session id: 2dc137581fb44e64d123ab347ae52c0c72c51e6b063d11a0d86fce5b2c61ed)

      [ERROR]     at org.jboss.errai.bus.server.ServerMessageBusImpl.getQueueByMessage(ServerMessageBusImpl.java:1219)

      [ERROR]     at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:671)

      [ERROR]     at org.jboss.errai.bus.client.api.base.ConversationMessageWrapper.sendNowWith(ConversationMessageWrapper.java:228)

      [ERROR]     at org.jboss.errai.bus.client.api.base.DefaultMessageBuilder$1.sendNowWith(DefaultMessageBuilder.java:78)

      [ERROR]     at org.jboss.errai.bus.client.util.ErrorHelper.sendClientError(ErrorHelper.java:107)

      [ERROR]     at org.jboss.errai.bus.client.util.ErrorHelper.sendClientError(ErrorHelper.java:77)

      [ERROR]     at org.jboss.errai.bus.client.util.ErrorHelper.handleMessageDeliveryFailure(ErrorHelper.java:170)

      [ERROR]     at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:53)

      [ERROR]     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:94)

      [ERROR]     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:108)

      [ERROR]     at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:117)

      [ERROR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

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

      [ERROR]     at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)

      [ERROR]     at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)

      [ERROR]     at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

      [ERROR]     at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)

      [ERROR]     at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)

      [ERROR]     at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)

      [ERROR]     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

      [ERROR]     at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)

      [ERROR]     at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

      [ERROR]     at org.mortbay.jetty.Server.handle(Server.java:324)

      [ERROR]     at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)

      [ERROR]     at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)

      [ERROR]     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)

      [ERROR]     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)

      [ERROR]     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)

      [ERROR]     at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

      [ERROR]     at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)