Skip to content

java-tools/jt-dynacache

Repository files navigation

Table of Contents

Hazelcast DynaCache

This repository contains Hazelcast DynaCache feature for Liberty Profile. In Liberty WAS, you can use dynamic cache engine (which is the default) in order to cache your data. With this feature, you can use Hazelcast as cache provider.

Tested with Liberty 16.0.0.3.

Requirements

Creating Development Environment

  • Clone this GitHub repository:

    git clone https://github.com/hazelcast/hazelcast-dynacache.git
    
  • Execute mvn clean package on hazelcast-dynacache root directory to create the .esa file

Installing Hazelcast DynaCache to WebSphere Liberty

Install the .esa file by executing the following command:

<liberty dir>/bin/featureManager install hazelcast-dynacache/hazelcast-dynacache/target/hazelcast-dynacache-0.3.esa

Use hazelcast as your cache provider name in your cacheinstances.properties file.

Enabling Hazelcast DynaCache on WebSphere Liberty

Enable Hazelcast DynaCache by adding the following snippet to your server.xml file:

 <featureManager>
   <feature>usr:hazelcast-dynacache</feature>
 </featureManager>

Installing Hazelcast DynaCache to Traditional WebSphere 9.0.0.1

Apply the iFix under twas-ifix directory to your WebSphere server and put the following files under WAS_HOME/lib/ext:

  • hazelcast-all-3.11.jar
  • hazelcast-dynacache-bundle-0.3.jar

Use com.hazelcast.ibm.dynacache.CacheProviderImpl as your cache provider name in your cacheinstances.properties file.