[JBoss JIRA] (ISPN-3898) Missing dependencies in infinispan-server-jgroups
by Valerio Schiavoni (JIRA)
[ https://issues.jboss.org/browse/ISPN-3898?page=com.atlassian.jira.plugin.... ]
Valerio Schiavoni commented on ISPN-3898:
-----------------------------------------
Strangely enough, the parent/pom.xml correctly defines the JBoss Repository where those 'byteman' libraries are available:
https://github.com/infinispan/infinispan/blob/master/parent/pom.xml#L852
> Missing dependencies in infinispan-server-jgroups
> -------------------------------------------------
>
> Key: ISPN-3898
> URL: https://issues.jboss.org/browse/ISPN-3898
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
> Attachments: versions_pom.diff
>
>
> Maven complains about unresolvable dependencies:
> [ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.server:infinispan-server-jgroups:jar:7.0.0-SNAPSHOT: The following artifacts could not be resolved: org.jboss.byteman:byteman:jar:2.0.1, org.jboss.byteman:byteman-submit:jar:2.0.1, org.jboss.byteman:byteman-install:jar:2.0.1: Could not find artifact org.jboss.byteman:byteman:jar:2.0.1 in central
> (same happens with the other byteman dependencies).
--
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
12 years
[JBoss JIRA] (ISPN-3898) Missing dependencies in infinispan-server-jgroups
by Valerio Schiavoni (JIRA)
[ https://issues.jboss.org/browse/ISPN-3898?page=com.atlassian.jira.plugin.... ]
Valerio Schiavoni edited comment on ISPN-3898 at 3/13/14 8:48 AM:
------------------------------------------------------------------
You can verify that there is a bug by cloning the latest version from github and launching:
mvn clean package -DskipTests -Dmaven.repo.local=/tmp/temp-repo
This will use an empty directory as Maven repository: Maven will start downloading all the dependencies, as long as it knows where to look.
The build fails with this message:
INFO] Reactor Summary:
...% cut, all SUCCESS until here
[INFO] Infinispan Server - JGroups Subsystem ............. FAILURE [8.490s]
[INFO] Infinispan Server - Infinispan Subsystem .......... SKIPPED
[INFO] Infinispan Server - Security Subsystem ............ SKIPPED
[INFO] Infinispan Server - Endpoints Subsystem ........... SKIPPED
[INFO] Infinispan Server - Build ......................... SKIPPED
[INFO] Infinispan Server - RHQ/JON plugin ................ SKIPPED
[INFO] Infinispan Server - Test Suite .................... SKIPPED
[INFO] Infinispan Server ................................. SKIPPED
[INFO] Infinispan Distribution ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:43.361s
[INFO] Finished at: Thu Mar 13 13:40:43 CET 2014
[INFO] Final Memory: 175M/974M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.server:infinispan-server-jgroups:jar:7.0.0-SNAPSHOT: Could not find artifact org.jboss.byteman:byteman-bmunit:jar:2.0.1 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
was (Author: vschiavoni):
You can verify that there is a bug by cloning the latest version from github and launching:
mvn clean package -DskipTests -Dmaven.repo.local=/tmp/temp-repo
This will use an empty directory as Maven repository: Maven will start downloading all the dependencies, as long as it knows where to look.
> Missing dependencies in infinispan-server-jgroups
> -------------------------------------------------
>
> Key: ISPN-3898
> URL: https://issues.jboss.org/browse/ISPN-3898
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
> Attachments: versions_pom.diff
>
>
> Maven complains about unresolvable dependencies:
> [ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.server:infinispan-server-jgroups:jar:7.0.0-SNAPSHOT: The following artifacts could not be resolved: org.jboss.byteman:byteman:jar:2.0.1, org.jboss.byteman:byteman-submit:jar:2.0.1, org.jboss.byteman:byteman-install:jar:2.0.1: Could not find artifact org.jboss.byteman:byteman:jar:2.0.1 in central
> (same happens with the other byteman dependencies).
--
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
12 years
[JBoss JIRA] (ISPN-4104) RHQ server plugin: generic store cache child creation fails
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4104?page=com.atlassian.jira.plugin.... ]
William Burns commented on ISPN-4104:
-------------------------------------
This is the same issue, but specific to stores as ISPN-4103 in that the RHQ plugin itself is fine, however the server parsing logic needs to be updated to use the new ISPN 6.0 CacheWriter interfaces where appropriate.
> RHQ server plugin: generic store cache child creation fails
> -----------------------------------------------------------
>
> Key: ISPN-4104
> URL: https://issues.jboss.org/browse/ISPN-4104
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: Mircea Markus
>
> This issue is similar to: https://issues.jboss.org/browse/ISPN-4103
> I can see this error during server restart:
> 10:38:01,682 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014613: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]) - failure description: "JBAS010292: org.infinispan.persistence.file.SingleFileStore is not a valid cache store"
> After issuing of operation this configuration fragment is added into standalone.xml configuration file: <store name="genericStore" class="org.infinispan.persistence.file.SingleFileStore" preload="true" passivation="false" purge="false"/>
> Child creation using not generic, but pure File Cache Store option works OK. Store is configured and using this class: org.infinispan.persistence.file.SingleFileStore, however, when trying to do the same using generic store creation, it fails.
> See error in linked JIRA (for loader) as I suspect there is the same cause for this.
--
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
12 years
[JBoss JIRA] (ISPN-3898) Missing dependencies in infinispan-server-jgroups
by Valerio Schiavoni (JIRA)
[ https://issues.jboss.org/browse/ISPN-3898?page=com.atlassian.jira.plugin.... ]
Valerio Schiavoni commented on ISPN-3898:
-----------------------------------------
You can verify that there is a bug by cloning the latest version from github and launching:
mvn clean package -DskipTests -Dmaven.repo.local=/tmp/temp-repo
This will use an empty directory as Maven repository: Maven will start downloading all the dependencies, as long as it knows where to look.
> Missing dependencies in infinispan-server-jgroups
> -------------------------------------------------
>
> Key: ISPN-3898
> URL: https://issues.jboss.org/browse/ISPN-3898
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Reporter: Valerio Schiavoni
> Assignee: Mircea Markus
> Attachments: versions_pom.diff
>
>
> Maven complains about unresolvable dependencies:
> [ERROR] Failed to execute goal on project infinispan-server-jgroups: Could not resolve dependencies for project org.infinispan.server:infinispan-server-jgroups:jar:7.0.0-SNAPSHOT: The following artifacts could not be resolved: org.jboss.byteman:byteman:jar:2.0.1, org.jboss.byteman:byteman-submit:jar:2.0.1, org.jboss.byteman:byteman-install:jar:2.0.1: Could not find artifact org.jboss.byteman:byteman:jar:2.0.1 in central
> (same happens with the other byteman dependencies).
--
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
12 years
[JBoss JIRA] (ISPN-4103) RHQ server plugin: generic loader cache child creation fails
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4103?page=com.atlassian.jira.plugin.... ]
William Burns commented on ISPN-4103:
-------------------------------------
This issue isn't a problem with RHQ, but rather with the server parsing logic. The Parser currently casts any generic loader to the old ISPN 5.2 classes. It should however check if it implements the new ISPN 6.0 interface and if it isn't then try 5.2 compatibility if on classpath.
> RHQ server plugin: generic loader cache child creation fails
> ------------------------------------------------------------
>
> Key: ISPN-4103
> URL: https://issues.jboss.org/browse/ISPN-4103
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: Mircea Markus
>
> Creation of cache child -- cluster loader is ok.
> However, when trying to create the same using generic loader child resource, it fails with following message [1].
> Server probably wasn't updated for latest persistence (loaders/stores) changes and only allows 5.2 based loaders/stores.
> Operation call from RHQ point of view looks to be clear and OK.
> [1]:
> 09:46:08,710 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]): java.lang.IllegalArgumentException: JBAS011001: org.infinispan.persistence.cluster.ClusterLoader is not a valid cache loader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:602)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.handleLoaderProperties(CacheAdd.java:548)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:515)
> at org.jboss.as.clustering.infinispan.subsystem.ClusteredCacheAdd.processModelNode(ClusteredCacheAdd.java:70)
> at org.jboss.as.clustering.infinispan.subsystem.SharedStateCacheAdd.processModelNode(SharedStateCacheAdd.java:47)
> at org.jboss.as.clustering.infinispan.subsystem.DistributedCacheAdd.processModelNode(DistributedCacheAdd.java:86)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.installRuntimeServices(CacheAdd.java:223)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:199)
> at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:334) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
> Caused by: java.lang.ClassCastException: org.infinispan.persistence.cluster.ClusterLoader cannot be cast to org.infinispan.loaders.CacheLoader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:597)
> ... 17 more
--
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
12 years
[JBoss JIRA] (ISPN-4104) RHQ server plugin: generic store cache child creation fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4104?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-4104:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1076047
> RHQ server plugin: generic store cache child creation fails
> -----------------------------------------------------------
>
> Key: ISPN-4104
> URL: https://issues.jboss.org/browse/ISPN-4104
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: Mircea Markus
>
> This issue is similar to: https://issues.jboss.org/browse/ISPN-4103
> I can see this error during server restart:
> 10:38:01,682 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014613: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]) - failure description: "JBAS010292: org.infinispan.persistence.file.SingleFileStore is not a valid cache store"
> After issuing of operation this configuration fragment is added into standalone.xml configuration file: <store name="genericStore" class="org.infinispan.persistence.file.SingleFileStore" preload="true" passivation="false" purge="false"/>
> Child creation using not generic, but pure File Cache Store option works OK. Store is configured and using this class: org.infinispan.persistence.file.SingleFileStore, however, when trying to do the same using generic store creation, it fails.
> See error in linked JIRA (for loader) as I suspect there is the same cause for this.
--
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
12 years
[JBoss JIRA] (ISPN-4104) RHQ server plugin: generic store cache child creation fails
by Tomas Sykora (JIRA)
Tomas Sykora created ISPN-4104:
----------------------------------
Summary: RHQ server plugin: generic store cache child creation fails
Key: ISPN-4104
URL: https://issues.jboss.org/browse/ISPN-4104
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 7.0.0.Alpha1, 6.0.1.Final
Reporter: Tomas Sykora
Assignee: Mircea Markus
This issue is similar to: https://issues.jboss.org/browse/ISPN-4103
I can see this error during server restart:
10:38:01,682 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014613: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "clustered"),
("distributed-cache" => "namedCache")
]) - failure description: "JBAS010292: org.infinispan.persistence.file.SingleFileStore is not a valid cache store"
After issuing of operation this configuration fragment is added into standalone.xml configuration file: <store name="genericStore" class="org.infinispan.persistence.file.SingleFileStore" preload="true" passivation="false" purge="false"/>
Child creation using not generic, but pure File Cache Store option works OK. Store is configured and using this class: org.infinispan.persistence.file.SingleFileStore, however, when trying to do the same using generic store creation, it fails.
See error in linked JIRA (for loader) as I suspect there is the same cause for this.
--
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
12 years
[JBoss JIRA] (ISPN-4103) RHQ server plugin: generic loader cache child creation fails
by Tomas Sykora (JIRA)
Tomas Sykora created ISPN-4103:
----------------------------------
Summary: RHQ server plugin: generic loader cache child creation fails
Key: ISPN-4103
URL: https://issues.jboss.org/browse/ISPN-4103
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 7.0.0.Alpha1, 6.0.1.Final
Reporter: Tomas Sykora
Assignee: Mircea Markus
Creation of cache child -- cluster loader is ok.
However, when trying to create the same using generic loader child resource, it fails with following message [1].
Server probably wasn't updated for latest persistence (loaders/stores) changes and only allows 5.2 based loaders/stores.
Operation call from RHQ point of view looks to be clear and OK.
[1]:
09:46:08,710 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([
("subsystem" => "infinispan"),
("cache-container" => "clustered"),
("distributed-cache" => "namedCache")
]): java.lang.IllegalArgumentException: JBAS011001: org.infinispan.persistence.cluster.ClusterLoader is not a valid cache loader
at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:602)
at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.handleLoaderProperties(CacheAdd.java:548)
at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:515)
at org.jboss.as.clustering.infinispan.subsystem.ClusteredCacheAdd.processModelNode(ClusteredCacheAdd.java:70)
at org.jboss.as.clustering.infinispan.subsystem.SharedStateCacheAdd.processModelNode(SharedStateCacheAdd.java:47)
at org.jboss.as.clustering.infinispan.subsystem.DistributedCacheAdd.processModelNode(DistributedCacheAdd.java:86)
at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.installRuntimeServices(CacheAdd.java:223)
at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:199)
at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:334) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
Caused by: java.lang.ClassCastException: org.infinispan.persistence.cluster.ClusterLoader cannot be cast to org.infinispan.loaders.CacheLoader
at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:597)
... 17 more
--
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
12 years
[JBoss JIRA] (ISPN-4103) RHQ server plugin: generic loader cache child creation fails
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-4103?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated ISPN-4103:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1076042
> RHQ server plugin: generic loader cache child creation fails
> ------------------------------------------------------------
>
> Key: ISPN-4103
> URL: https://issues.jboss.org/browse/ISPN-4103
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 6.0.1.Final, 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: Mircea Markus
>
> Creation of cache child -- cluster loader is ok.
> However, when trying to create the same using generic loader child resource, it fails with following message [1].
> Server probably wasn't updated for latest persistence (loaders/stores) changes and only allows 5.2 based loaders/stores.
> Operation call from RHQ point of view looks to be clear and OK.
> [1]:
> 09:46:08,710 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 19) JBAS014612: Operation ("add") failed - address: ([
> ("subsystem" => "infinispan"),
> ("cache-container" => "clustered"),
> ("distributed-cache" => "namedCache")
> ]): java.lang.IllegalArgumentException: JBAS011001: org.infinispan.persistence.cluster.ClusterLoader is not a valid cache loader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:602)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.handleLoaderProperties(CacheAdd.java:548)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.processModelNode(CacheAdd.java:515)
> at org.jboss.as.clustering.infinispan.subsystem.ClusteredCacheAdd.processModelNode(ClusteredCacheAdd.java:70)
> at org.jboss.as.clustering.infinispan.subsystem.SharedStateCacheAdd.processModelNode(SharedStateCacheAdd.java:47)
> at org.jboss.as.clustering.infinispan.subsystem.DistributedCacheAdd.processModelNode(DistributedCacheAdd.java:86)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.installRuntimeServices(CacheAdd.java:223)
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.performRuntime(CacheAdd.java:199)
> at org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:334) [jboss-as-controller-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09-icedtea]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09-icedtea]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
> Caused by: java.lang.ClassCastException: org.infinispan.persistence.cluster.ClusterLoader cannot be cast to org.infinispan.loaders.CacheLoader
> at org.jboss.as.clustering.infinispan.subsystem.CacheAdd.buildCacheLoader(CacheAdd.java:597)
> ... 17 more
--
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
12 years
[JBoss JIRA] (ISPN-3640) Extend KeyFilter facility to the whole cache
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-3640?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero commented on ISPN-3640:
---------------------------------------
True, but my understanding is that this is just a syntactic sugar trick for a better API, not necessarily implying a performance improvement.
Of course would be great to take advantage of it ;-) but I'd do that in a second step? (assuming we get some ideas?)
> Extend KeyFilter facility to the whole cache
> --------------------------------------------
>
> Key: ISPN-3640
> URL: https://issues.jboss.org/browse/ISPN-3640
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 6.0.0.CR1
> Reporter: Paul Ferraro
> Assignee: Mircea Markus
>
> The key filter facility is very convenient for users who have multiple key types in the same cache. It would be very handy if this feature were extended to the whole cache.
> e.g.
> Cache<?, ?> cache = ...;
> KeyFilter filter = ...;
> Cache<K, V> view = cache.filter(filter);
> view.addListener(listener) // Equivalent to the current cache.addListener(listener, filter) method
> for (Map.Entry<K, V> entry: view.entrySet()) {
> ...
> }
--
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
12 years