Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-2191

Some perspectives in the Business Central UI fails to open when using the Errai websocket configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 6.1.0
    • Business Central
    • None

    Description

      Description of problem:
      There is a need to expire the Http Sessions without to close the Browser.
      If we keep the browser opened the session will never expires because the Errai heart beat messages based on Server-Sent Events (SSE).

      To be able to expire the session without to close the browser is necessary to configure the ERRAI to use websockets instead.

      Using this approach the session get expired and the user is redirect to the login page normally, but some perspectives in the Business central does not work, for example the Authoring perspective.

      Version-Release number of selected component (if applicable):
      6.1.0

      How reproducible:
      100%

      Steps to Reproduce:
      1. Install business central
      2. Create the ErraService.properties file under $JBOSS_HOME/standalone/deployments/business-central.war/WEB-INF/classes/
      3. Add the following configuration: errai.bus.enable_web_socket_server=true
      4. Start the BPMS
      5. Open the developer tools and watch the logs.

      Actual results:
      The session is expired but it is not possible to open, for example, the authoring perspective.

      In the developer tools the following messaged is showed:
      SEVERE [LogConfiguration] java.lang.IllegalStateException:This service only works from threads that are handling HTTP servlet requests

      Expected results:
      Everything should work without problems and the session should get expired and the user redirected to the login page without close the browser.

      Additional info:

      Attachments

        Issue Links

          Activity

            People

              mbarkley_jira Max Barkley (Inactive)
              rhn-support-fspolti Filippe Spolti
              Lukáš Petrovický Lukáš Petrovický (Inactive)
              Lukáš Petrovický Lukáš Petrovický (Inactive)
              Alessandro Lazarotti, cray, Kris Verlaenen, ravindra.tubati
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: