4 Replies Latest reply on May 7, 2010 3:14 PM by Anil Saldanha

    Leaving the application running

    Anil Saldanha Master

      for sometime leads to the following server side errors (on tomcat)

       

      Message was not delivered.
      org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: org.jboss.errai.bus.server.NoSubscribersToDeliverTo: for: ClientBusErrors
              at org.jboss.errai.bus.client.util.ErrorHelper.handleMessageDeliveryFailure(ErrorHelper.java:123)
              at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:359)
              at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:306)
              at org.jboss.errai.bus.client.api.builder.ConversationMessageWrapper.sendNowWith(ConversationMessageWrapper.java:167)
              at org.jboss.errai.bus.client.api.builder.AbstractMessageBuilder$1.sendNowWith(AbstractMessageBuilder.java:41)
              at org.jboss.errai.bus.client.util.ErrorHelper.sendClientError(ErrorHelper.java:83)
              at org.jboss.errai.bus.client.util.ErrorHelper.sendClientError(ErrorHelper.java:55)
              at org.jboss.errai.bus.server.WorkerFactory.sendDeliveryFailure(WorkerFactory.java:132)
              at org.jboss.errai.bus.server.WorkerFactory.deliverGlobal(WorkerFactory.java:107)
              at org.jboss.errai.bus.server.AsyncDispatcher.dispatchGlobal(AsyncDispatcher.java:58)
              at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:173)
              at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:104)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      Caused by: org.jboss.errai.bus.server.NoSubscribersToDeliverTo: for: ClientBusErrors
              at org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(ServerMessageBusImpl.java:375)
              at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:353)
              ... 24 more
      
      *** An error occured that could not be delivered to the client.
      Error Message: could not deliver message because the outgoing queue is full
      Details      :
      org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: could not deliver message because the outgoing queue is full
      org.jboss.errai.bus.server.WorkerFactory.sendDeliveryFailure(WorkerFactory.java:128)
        org.jboss.errai.bus.server.WorkerFactory.deliverGlobal(WorkerFactory.java:107)
        org.jboss.errai.bus.server.AsyncDispatcher.dispatchGlobal(AsyncDispatcher.java:58)
        org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:173)
        org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:104)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      
      

       

      Basically instead of getting the login screen, there is a blank page. The login window is failing to appear.

        • 1. Re: Leaving the application running
          Heiko Braun Master

          What do you mean with "leaving the application running". Scoped to the client sesssion,

          or regardless if a client is connected or not?

           

          I am wondering why the picketlink console fails if new clients connect?

          Are you constantly streaming data through the bus?

          • 2. Re: Leaving the application running
            Heiko Braun Master

            Where can i checkout the console? W/O looking at the server pieces it's hard to tell why the queue becomes saturated,

            • 3. Re: Leaving the application running
              Anil Saldanha Master

              I must be doing something wrong in a programming paradigm perspective.

               

              Every time a new client connects to the application,  the loginclient does not display (the login window) does not indicating there is some client bus problem, that it is trying to deliver clientbus errors that nobody is listening to.

               

              Not sure how the session management is handled.

              • 4. Re: Leaving the application running
                Anil Saldanha Master

                The way it is:  I am running the app on tomcat.  I access the application. Login. Get my layout with the tabs etc. All fine.

                 

                Now if I open a new browser tab or some other person opens this application, we get the blank blue page, basically with the loginwindow not appearing.

                 

                 

                *** An error occured that could not be delivered to the client.
                Error Message: Could not contact LoginClient to handle access denial, due to insufficient privileges for: LoginClient
                Details      :
                org.jboss.errai.bus.server.NoSubscribersToDeliverTo: for: LoginClient
                org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(ServerMessageBusImpl.java:375)
                  org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:353)
                  org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:333)
                  org.jboss.errai.bus.client.api.builder.AbstractMessageBuilder$1.sendNowWith(AbstractMessageBuilder.java:46)
                  org.jboss.errai.bus.server.security.auth.rules.RolesRequiredRule.decision(RolesRequiredRule.java:81)
                  org.jboss.errai.bus.client.api.base.RuleDelegateMessageCallback.callback(RuleDelegateMessageCallback.java:51)
                  org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:278)
                  org.jboss.errai.bus.server.Worker.run(Worker.java:97)
                

                 

                I see the above error in the tomcat logs when this has happened.