-
Bug
-
Resolution: Done
-
Major
-
None
Failing tests are:
HotRodPersistentTimerServiceTestCase
RemoteInfinispanCacheTestCase
RemoteElytronSingleSignOnTestCase
CoarseHotRodPersistenceWebFailoverTestCase
CoarseHotRodSessionActivationTestCase
CoarseHotRodSessionExpirationTestCase
CoarseHotRodWebFailoverTestCase
CoarseTransactionalHotRodWebFailoverTestCase
FineHotRodPersistenceWebFailoverTestCase
FineHotRodSessionActivationTestCase
FineHotRodSessionExpirationTestCase
FineHotRodWebFailoverTestCase
FineTransactionalHotRodWebFailoverTestCase
Below is the root cause of the regression - javax.security.auth.Subject.getSubject() throwing UnsupportedOperationException if -Djava.security.manager=allowed isn't configured in infinispan server shell scripts.
This regression was introduced with this JDK commit
Cache org.infinispan.PERMISSIONS start failed, stopping any running components org.infinispan.commons.CacheConfigurationException: ISPN000659: C
at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:584)
at org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:807)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:379)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:252)
at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:222)
at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:1009)
at org.infinispan.cache.impl.AbstractDelegatingCache.start(AbstractDelegatingCache.java:504)
at org.infinispan.security.impl.SecureCacheImpl.start(SecureCacheImpl.java:129)
at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:726)
at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:672)
at org.infinispan.manager.DefaultCacheManager.internalGetCache(DefaultCacheManager.java:561)
at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:524)
at org.infinispan.security.mappers.ClusterPermissionMapper.start(ClusterPermissionMapper.java:44)
at org.infinispan.security.mappers.CorePackageImpl$2.start(CorePackageImpl.java:65)
at org.infinispan.security.mappers.CorePackageImpl$2.start(CorePackageImpl.java:58)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeStart(BasicComponentRegistryImpl.java:616)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:607)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:576)
at org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:807)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.startDependencies(BasicComponentRegistryImpl.java:634)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:598)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:576)
at org.infinispan.factories.impl.BasicComponentRegistryImpl$ComponentWrapper.running(BasicComponentRegistryImpl.java:807)
at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:379)
at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:252)
at org.infinispan.manager.DefaultCacheManager.internalStart(DefaultCacheManager.java:778)
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:746)
at org.infinispan.server.SecurityActions.lambda$startCacheManager$1(SecurityActions.java:68)
at org.infinispan.security.Security.doPrivileged(Security.java:56)
at org.infinispan.server.SecurityActions.doPrivileged(SecurityActions.java:40)
at org.infinispan.server.SecurityActions.startCacheManager(SecurityActions.java:71)
at org.infinispan.server.Server.run(Server.java:426)
at org.infinispan.server.Bootstrap.runInternal(Bootstrap.java:173)
at org.infinispan.server.tool.Main.run(Main.java:98)
at org.infinispan.server.Bootstrap.main(Bootstrap.java:56)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.infinispan.server.loader.Loader.run(Loader.java:106)
at org.infinispan.server.loader.Loader.main(Loader.java:51)
Caused by: java.lang.UnsupportedOperationException: getSubject is supported only if a security manager is allowed
at java.base/javax.security.auth.Subject.getSubject(Subject.java:347)
at org.infinispan.security.Security.getSubject(Security.java:189)
at org.infinispan.notifications.impl.AbstractListenerImpl.validateAndAddListenerInvocations(AbstractListenerImpl.java:214)
at org.infinispan.notifications.cachemanagerlistener.CacheManagerNotifierImpl.addListenerAsync(CacheManagerNotifierImpl.java:183)
at org.infinispan.notifications.Listenable.addListener(Listenable.java:27)
at org.infinispan.reactive.publisher.impl.PublisherHandler.start(PublisherHandler.java:81)
at org.infinispan.reactive.publisher.impl.CorePackageImpl$5.start(CorePackageImpl.java:125)
at org.infinispan.reactive.publisher.impl.CorePackageImpl$5.start(CorePackageImpl.java:117)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.invokeStart(BasicComponentRegistryImpl.java:616)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.doStartWrapper(BasicComponentRegistryImpl.java:607)
at org.infinispan.factories.impl.BasicComponentRegistryImpl.startWrapper(BasicComponentRegistryImpl.java:576)
... 38 more
- is caused by
-
ISPN-16346 Reset java.security.manager default value back to "allow" by default in Infinispan shell scripts
- Resolved
- is incorporated by
-
WFLY-19668 Upgrade Infinispan from 14.0.30.Final to 14.0.31.Final
- Resolved