Splicing a session data grid application with the addObjectGridFilter script
Use the addObjectGridFilter command-line script to splice an application with filter declarations and configuration in the form of servlet context initialization parameters.
About this task
Procedure
Run the addObjectGridFilter on your
application.
addObjectGridFilter.bat [ear_file] [splicer_properties_file]
addObjectGridFilter.sh [ear_file] [splicer_properties_file]
- [ear_file] - Specifies the absolute path to the enterprise archive file to be spliced.
- [splicer_properties_file] : Specifies the absolute path to the splicer properties file that contains various configuration properties.
Results
You can modify and use the sample splicer.properties file that is provided with a eXtreme Scale installation. You can also use the addObjectGridServlets script, which inserts the session manager by extending each servlet. However, the recommended script is the addObjectGridFilter script.
Example
Example using eXtreme Scale installed on WebSphere Application Server on UNIX:
Example using eXtreme Scale installed in a stand-alone directory on UNIX: