-
Notifications
You must be signed in to change notification settings - Fork 12
Wilma Message Search, Multiple Wilma Instance with Single Search Application
It may happen that there is a need of using not a single, but multiple Wilma instances, but we would like to use a single Wilma Message Search application to search for specific messages. The necessary setup is described below.
For example:
../../wilmas/instance1/..
../../wilmas/instance2/..
Explanation: Do not start more instances from same location because they will write messages to the same "messages" folder and it can lead to collision because of same file names (same timestamps are in the background). Besides this, the LogFileMaintainer monitors the "messages" folder and removes files from that if it's needed. But in case more Wilma instances have started from the same place, they can delete each other's files.
The necessary keys which must be different:
In wilma.conf.properties:
internal.wilma.port
proxy.port
In message.search.conf.properties:
webapp.port
jms.broker.port
All Wilma instances must be the same as the jms.broker.port
of Wilma Message Search.
message.folders=instance1path/messages,instance2path/messages
Explanation: On Linux it's needed to start Wilma Message Search first for some undiscovered reason. Otherwise they can't communicate to each other properly.