Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13283

Elytron thread pool prevent from a correct shutdown if clients are connected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 13.0.0.CR1
    • None
    • Server
    • None
    • Hide

      1) I created a RHDG 8.2 service on linux and start it.
      2) I connected a HR client and the did a shutdown server <server name> from CLI.
      3) I find the server shuts down but the status of the service was still active

       

      Show
      1) I created a RHDG 8.2 service on linux and start it. 2) I connected a HR client and the did a shutdown server <server name> from CLI. 3) I find the server shuts down but the status of the service was still active  
    • Hide

      Following possible (code) workaround:

      add

      SecurityDomain.getScheduledExecutorService().shutdown();

      at the end of our code. 

      Show
      Following possible (code) workaround: add SecurityDomain.getScheduledExecutorService().shutdown(); at the end of our code. 

      If the server RHDG 8.2 is running as windows service it will fail to stop correctly via running CLI 'shutdows server <name>', this is only if there are HotRod clients connected. 

      If a client is connected the 'systemctl status datagrid' will show the service is still active.

            ttarrant@redhat.com Tristan Tarrant
            rhn-support-wfink Wolf Fink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: