Skip to content

akottr/filter-based-session-replication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ABOUT

This project is prepared to serve as a sample application for Hazelcast, the leading open source in-memory data grid . Here, Hazelcast's use case is HTTP Session Replication.

Requirements

You should have installed Tomcat or Jetty and Apache Maven on your system. There are other requirements already in this repo.

Load Balancing With Tomcat or Jetty

To see how application works, you need to start two different servers at different ports. Also you have to connect these servers to a load balancer. You can use apache mod\_jk module for load balancing. Shortly, you have to enable mod\_jk module apache httpd.conf file and specify workers.properties file. You must enter tomcat server ports and configurations to workers.properties file. You can find detailed explanations at:
http://tomcat.apache.org/connectors-doc/generic_howto/quick.html

Build

* `git clone https://github.com/hazelcast/hazelcast-code-samples.git` - Clone repo into the local * `cd hazelcast-code-samples/hazelcast-integration/filter-based-session-replication/` * `mvn install` - Create war file for example

Tomcat Deployment

* `cp target/session-replication.war $CATALINA_HOME/webapps/` - Copy war to Tomcat * Browse to `http://localhost:8080/session-replication/hazelcast`

Jetty Deployment

* `cp target/session-replication.war $JETTY_HOME/webapps/` - Copy war to Jetty * Browse to `http://localhost:8080/session-replication/hazelcast`

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages