Dan Berindei created ISPN-8589:
----------------------------------
Summary: HotRodDigestMd5AuthIT logs SecurityException while stopping server
Key: ISPN-8589
URL:
https://issues.jboss.org/browse/ISPN-8589
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 9.2.0.Beta1
Reporter: Dan Berindei
Assignee: William Burns
Fix For: 9.2.0.Beta2
Also happens in {{HotRodKrbAuthIT}}.
{noformat}
14:54:42,512 WARN [org.infinispan.factories.ComponentRegistry] (MSC service thread 1-1)
ISPN000189: While stopping a cache or cache manager, one of its components failed to stop:
org.infinispan.commons.CacheException: Unable to invoke method public void
org.infinispan.stream.impl.IteratorHandler.stop() on object of type IteratorHandler
at
org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:83)
at org.infinispan.commons.util.SecurityActions.doPrivileged(SecurityActions.java:71)
at org.infinispan.commons.util.SecurityActions.invokeAccessibly(SecurityActions.java:76)
at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:165)
at
org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
at
org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:684)
at
org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:583)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:259)
at org.infinispan.cache.impl.CacheImpl.performImmediateShutdown(CacheImpl.java:1046)
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:1010)
at
org.infinispan.cache.impl.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:420)
at
org.infinispan.registry.impl.InternalCacheRegistryImpl.unregisterInternalCache(InternalCacheRegistryImpl.java:79)
at org.infinispan.server.hotrod.HotRodServer.stop(HotRodServer.java:485)
at
org.infinispan.server.endpoint.subsystem.ProtocolServerService.doStop(ProtocolServerService.java:216)
at
org.infinispan.server.endpoint.subsystem.ProtocolServerService.stop(ProtocolServerService.java:206)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.SecurityException: ISPN000287: Unauthorized access: subject
'null' lacks 'LISTEN' permission
at
org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:87)
at
org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:57)
at
org.infinispan.manager.DefaultCacheManager.removeListener(DefaultCacheManager.java:749)
at org.infinispan.stream.impl.IteratorHandler.stop(IteratorHandler.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.infinispan.commons.util.SecurityActions.lambda$invokeAccessibly$0(SecurityActions.java:79)
... 19 more
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)