Please note that this function is still in an experimental phase and may be subject to change.
In order to run the application on a Tomcat server with Redis as session storage, corresponding configuration steps are required. This configuration must be carried out both in the application itself and on the Tomcat server.
Provision of the configuration for the application:
It is necessary for the application itself to be provided with a configuration file in JSON or YAML format. This file contains the specific settings for the application, including information on the connection to the Redis instance. Documentation on the contents of the configuration file can be found here: https://github.com/redisson/redisson/wiki/2.-Configuration#272-sentinel-yaml-config-format .
Configuration of the Tomcat:
The best description for Tomcat configuration can be found here: https://redisson.org/articles/redis-based-tomcat-session-management.html
redisson.yamlConfigFile / redisson.jsonConfigFile
|
Description |
This setting refers to a configuration file for the Redisson API, which can be specified via a relative or an absolute path. The configuration file defines the settings and parameters for the Redisson library. For detailed documentation of the file format and available configuration options click on the following link: https://github.com/redisson/redisson/wiki/2.-Configuration/ . This setting is an experimental feature that may not be supported in all environments or is still under development. |
|
Default value |
- |