TIBCO BusinessEvents Rules Management Server (RMS) – customize HTTPRoot folder location

TIBCO BusinessEvents Rules Management Server (RMS) – customize HTTPRoot folder location

book

Article ID: KB0076144

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.x

Description

By default, the RMS server creates a new temporary folder (HTTPRoot<number>) in configured Java temp directory on each restart to store data.
This can cause disk space issues over a period of time.

Default folders for HTTPRoot:
Unix: /tmp/HttpRoot<number>
Windows: C:\Users\<username>\AppData\Local\Temp\HttpRoot<number> 

 

Issue/Introduction

TIBCO BusinessEvents Rules Management Server (RMS) – customize HTTPRoot folder location

Environment

All Operating Systems

Resolution

The following options will help us control the location of the folder.

1.) Define a specific java temp directory to avoid data being stored in default java temp directory. 

Edit BE_HOME/rms/bin/be-rms.tra and add  property java.property.java.io.tmpdir=<directory>

Note:
The RMS server still creates a new folder on each RMS server restart in configured HttpRoot directory.
An administrator should monitor the disk usage and delete old directories manually.


2.) Define a specific directory (re-used on restart) for the data folder.

Edit BE_HOME/rms/bin/be-rms.tra or BE_HOME/rms/bin/RMS.cdd  and add property com.tibco.be.http.root=<directory>
eg:
com.tibco.be.http.root=/home/tibco/beRMSHTTPRoot

See:
https://docs.tibco.com/pub/businessevents-enterprise/5.6.1/doc/html/GUID-B995F3DC-7A76-4151-8748-80E66C5D938B.html

Note:
After each BE product version update, it is required to delete the contents of configured HttpRoot folder before starting RMS server to update RMS WebStudio data files.

Additional Information

HttpRoot , RMS, Temp directory.