[JBoss JIRA] (ISPN-2575) KeyTransformer registration is required on all nodes of the cluster, in case of custom keys
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-2575?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-2575:
--------------------------------
Assignee: Adrian Nistor (was: Sanne Grinovero)
> KeyTransformer registration is required on all nodes of the cluster, in case of custom keys
> -------------------------------------------------------------------------------------------
>
> Key: ISPN-2575
> URL: https://issues.jboss.org/browse/ISPN-2575
> Project: Infinispan
> Issue Type: Enhancement
> Components: Querying
> Affects Versions: 5.2.0.Beta5
> Reporter: Anna Manukyan
> Assignee: Adrian Nistor
> Attachments: ClusteredCacheTest.java
>
>
> The case is the following:
> I have a clustered cache on which I want to perform a search. I'm doing the following:
> I'm initializing SearchManager on node1, I'm registering a custom key transformer for my key using the created searchmanager, but then when I'm trying to put data into the cache on node1 (which is in REPL_SYNC mode with cache on node2), I'm getting the exception:
> java.lang.IllegalArgumentException: Indexing only works with entries keyed on Strings, primitives and classes that have the @Transformable annotation - you passed in a class org.infinispan.query.test.CustomKey3. Alternatively, see org.infinispan.query.SearchManager#registerKeyTransformer
> When I'm initializing the SearchManager using node2 cache and register the keyTransformer on it as well, then everything works perfectly, even though I am not using the second created SearchManager.
> The test which reproduces the issue is attached to the jira. Please see the test case: testSearchKeyTransformer()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
3 days, 8 hours
[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, 11 months
[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, 11 months
[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, 11 months