[JBoss JIRA] (ISPN-10879) PersistenceIT random failures
by Dan Berindei (Jira)
Dan Berindei created ISPN-10879:
-----------------------------------
Summary: PersistenceIT random failures
Key: ISPN-10879
URL: https://issues.jboss.org/browse/ISPN-10879
Project: Infinispan
Issue Type: Bug
Reporter: Dan Berindei
{noformat}
java.lang.NoClassDefFoundError: Could not initialize class org.infinispan.server.persistence.PersistenceIT
{noformat}
The reason for the error is that {{PersistenceIT}} has a static final field {{InfinispanServerRule SERVERS}}, and the {{InfinispanServerRule}} constructor may throw an exception. The first time the JVM tries to initialize the {{PersistenceIT}} class, the caller gets an {{ExceptionInInitializerError}}, but further attempts get the {{NoClassDefFoundError}} instead. And since this is all inside Surefire/JUnit, the initial {{ExceptionInInitializerError}} is ignored somewhere without being logged.
To help debugging via logs, the constructor should be trivial, and the {{serverDriver}} should only be initialized in the {{apply()}} method.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10722) Mgmt console: home page load fails in case secured cache container
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10722?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10722:
--------------------------------
Fix Version/s: 10.1.0.Beta1
> Mgmt console: home page load fails in case secured cache container
> ------------------------------------------------------------------
>
> Key: ISPN-10722
> URL: https://issues.jboss.org/browse/ISPN-10722
> Project: Infinispan
> Issue Type: Bug
> Components: Console, JMX, reporting and management
> Affects Versions: 9.4.16.Final, 10.0.0.CR2
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Major
> Fix For: 9.4.17.Final, 10.0.1.Final, 10.1.0.Beta1
>
>
> The following exception appears in server logs and hanging screen is visible in browser when mgmt console home page is accessed, in case when the server is started with secured cache-container.
> {noformat}
> 12:53:09,199 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 2) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
> ("subsystem" => "datagrid-infinispan"),
> ("cache-container" => "local")
> ]): java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:87)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:57)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.manager.DefaultCacheManager.getDefaultCacheConfiguration(DefaultCacheManager.java:847)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.xsite.GlobalXSiteAdminOperations.collectXSiteAdminOperation(GlobalXSiteAdminOperations.java:135)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.xsite.GlobalXSiteAdminOperations.globalStatus(GlobalXSiteAdminOperations.java:86)
> at org.infinispan.extension:ispn-9.4@9.4.16.Final//org.jboss.as.clustering.infinispan.subsystem.CacheContainerMetricsHandler.filterSitesByStatus(CacheContainerMetricsHandler.java:342)
> at org.infinispan.extension:ispn-9.4@9.4.16.Final//org.jboss.as.clustering.infinispan.subsystem.CacheContainerMetricsHandler.executeRuntimeStep(CacheContainerMetricsHandler.java:296)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month
[JBoss JIRA] (ISPN-10722) Mgmt console: home page load fails in case secured cache container
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10722?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10722:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.0.1.Final
(was: 10.0.0.Final)
Resolution: Done
> Mgmt console: home page load fails in case secured cache container
> ------------------------------------------------------------------
>
> Key: ISPN-10722
> URL: https://issues.jboss.org/browse/ISPN-10722
> Project: Infinispan
> Issue Type: Bug
> Components: Console, JMX, reporting and management
> Affects Versions: 9.4.16.Final, 10.0.0.CR2
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Major
> Fix For: 9.4.17.Final, 10.0.1.Final
>
>
> The following exception appears in server logs and hanging screen is visible in browser when mgmt console home page is accessed, in case when the server is started with secured cache-container.
> {noformat}
> 12:53:09,199 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 2) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
> ("subsystem" => "datagrid-infinispan"),
> ("cache-container" => "local")
> ]): java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'ADMIN' permission
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:87)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:57)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.manager.DefaultCacheManager.getDefaultCacheConfiguration(DefaultCacheManager.java:847)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.xsite.GlobalXSiteAdminOperations.collectXSiteAdminOperation(GlobalXSiteAdminOperations.java:135)
> at org.infinispan.core:ispn-9.4@9.4.16.Final//org.infinispan.xsite.GlobalXSiteAdminOperations.globalStatus(GlobalXSiteAdminOperations.java:86)
> at org.infinispan.extension:ispn-9.4@9.4.16.Final//org.jboss.as.clustering.infinispan.subsystem.CacheContainerMetricsHandler.filterSitesByStatus(CacheContainerMetricsHandler.java:342)
> at org.infinispan.extension:ispn-9.4@9.4.16.Final//org.jboss.as.clustering.infinispan.subsystem.CacheContainerMetricsHandler.executeRuntimeStep(CacheContainerMetricsHandler.java:296)
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 1 month