[infinispan-issues] [JBoss JIRA] (ISPN-6356) SecurityException during HotRod server stop
Dan Berindei (JIRA)
issues at jboss.org
Wed Mar 9 13:51:00 EST 2016
Dan Berindei created ISPN-6356:
----------------------------------
Summary: SecurityException during HotRod server stop
Key: ISPN-6356
URL: https://issues.jboss.org/browse/ISPN-6356
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 8.2.0.Final
Reporter: Dan Berindei
The HotRod server should use a SecurityAction to remove the `CrashedMemberDetectorListener` listener (and probably to remove the `ReAddMyAddressListener` listener as well).
{noformat}
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)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list