Bug 1186857 - JDG650.CustomCacheStore
Summary: JDG650.CustomCacheStore
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER1
: 6.5.0
Assignee: Sebastian Łaskawiec
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks: 1186882
TreeView+ depends on / blocked
 
Reported: 2015-01-28 17:29 UTC by Pedro Zapata
Modified: 2015-06-23 12:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-23 12:25:01 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5022 0 Major Resolved Create a cachestore archetype 2015-09-02 08:53:16 UTC
Red Hat Issue Tracker ISPN-5131 0 Major Resolved Deploy custom cache store to Infinispan Server 2015-09-02 08:53:16 UTC

Description Pedro Zapata 2015-01-28 17:29:54 UTC
Requirement:

Support the deployment and configuration of a custom cache store at each node of my Client-Server cluster.

Priority:   P2
Status:     Commit (see comments)
Originator: Product Management
Responsible team: Infinispan Engineering Team

Comments:

We can commit to deployable custom cache stores but configuration would still be limited to the generic <property> list instead of a custom schema (a limitation imposed on us by EAP’s subsystem configuration model).

Deployment will happen in the following ways:
   - place jar file containing cache store implementation in server deployment directory to be automatically picked up by the automatic deployer
   - deploy using the CLI
   - deploy using JON

Comment 7 Tomas Sykora 2015-04-10 08:59:47 UTC
TLDR: it works and "on-fly" configuration is the matter for other BZ.


So, good news. All 3 types of deployment are working as expected. 

CCS.jar = my-awesomely-brilliant-custom-cache-store-created-using-Vijays-archetype.jar

1) Putting CCS.jar into $server_home/stadalone/deployments folder - OK
2) Using JON's EAP's parent plugin operation: DEPLOY for deploying CCS.jar - OK
3) Using our server's jboss-cli.sh - OK

I was able to get custom cache store registered by server and start using it with reconfigured cache after server RESTART.

I want to be explicitly clear in this statement: We need to re-configure cache and then restart the server to apply changes in the case when we have ALREADY running server.

The second, more fluent use case:

We deploy our CCS.jar into $server_home/standalone/deployments, configure caches to use that store and THEN start server. Server picks up CCS.jar, deploy it and after that start caches. That works nicely. 

Cache configuration "on-fly" in not in the scope of this BZ.

VERIFIED, function works as expected. 

Thank you Sebastian for excellent work!!


Note You need to log in before you can comment on or make changes to this bug.