3. Configure RationalPlan location

You need to configure the location where RationalPlan will save all its data. If this step is not completed then the default location is in the user home folder of the operating system in a folder named .RationalPlan .

First you have to create a folder location with read and write permissions. We shall name this location as RATIONALPLAN_DIR.

NOTE: Make sure you give read and write permissions to this location. Otherwise the application will not be deployed completely due to a lack of access rights.

Now you have to tell Tomcat where this location is. This is accomplished as an environment system property. This configuration is done just once when you first install RationalPlan and it is the recommended one. Based on how you are running Tomcat there are two ways to accomplish this:

  1. Running Tomcat as an application started manually

    For this you have to change the setenv.sh (or setenv.bat for Windows) script in the bin/ directory under the INSTALL_DIR by adding RationalPlan.repository property. Basically you should add a line that looks like this:

    export JAVA_OPTS="$JAVA_OPTS -DRationalPlan.repository=/RationalPlan" (Unix)

    set JAVA_OPTS=%JAVA_OPTS% -DRationalPlan.repository=c:\RationalPlan (Windows)

  2. Running Tomcat as a service on Windows

    To run it as a service we are assuming that you used the Windows executable installer when you have installed Tomcat.

    You need to start the Configure Tomcat application. On the Java tab in the window that appears you have to add a line like this in the Java Options area:


Shut down and restart Tomcat in order for the changes to take effect.