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

SecurityException during HotRod server stop

    XMLWordPrintable

Details

    Description

      The HotRod server should use a SecurityAction to remove the `CrashedMemberDetectorListener` listener (and probably to remove the `ReAddMyAddressListener` listener as well).

      20:41:29,066 WARN  [org.infinispan.server.endpoint] (MSC service thread 1-7) DGENDPT10010: Failed to stop connector HotRodServer: java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'LISTEN' permission
      	at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:86)
      	at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:56)
      	at org.infinispan.manager.DefaultCacheManager.removeListener(DefaultCacheManager.java:727)
      	at org.infinispan.manager.impl.AbstractDelegatingEmbeddedCacheManager.removeListener(AbstractDelegatingEmbeddedCacheManager.java:193)
      	at org.infinispan.server.hotrod.HotRodServer.stop(HotRodServer.scala:310)
      	at org.infinispan.server.endpoint.subsystem.ProtocolServerService.doStop(ProtocolServerService.java:199)
      	at org.infinispan.server.endpoint.subsystem.ProtocolServerService.stop(ProtocolServerService.java:189)
      	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
      	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            vjuranek@redhat.com Vojtech Juranek
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: