MicroStrategy ONE

Preconfiguration Information

This section provides the preconfiguration information necessary to deploy MicroStrategy JSP applications with Tomcat on your Linux machine.

Installing the JDK

If you have not installed the AdoptOpenJDK/Eclipse Temurin yet, download the file from the website. Be sure to install the JDK and not the JRE software options.

To configure the JDK, a system variable must point to the folder where you install the JDK. If you install the JDK to a simple folder path such as C:\ setting the system variable is easier and more likely to be correct.

From the location in which to install the JDK, run the file you downloaded:

jdk-Version-linux-i586.bin

For example, to install version 1.11.0, type the following:

jdk-1_11_0-linux-i586.bin

Configuring the JDK

  1. Open the /etc/profile file using a program that allows you to edit the file.
  2. Add the following line:

    export JAVA_HOME=/PathName/jdkVersion;

    where PathName is the destination folder where you installed the JDK and Version is the version, such as 1_11_0, of the JDK.

Installing Tomcat

This procedure assumes that you have downloaded and installed Tomcat in a directory named Tomcat on your machine. If you have not installed Tomcat yet, download the zip file from the following link:

Contact your System Administrator or visit the Apache website for instructions on downloading and installing Tomcat.

Configuring Tomcat

After you install Tomcat, you must configure Tomcat. The Tomcat configuration includes creating the environment variable CATALINA_HOME and defining this environment variable to point to the Tomcat directory.

  1. Open the etc/profile file in a program that allows you to edit the file.
  2. Type the following:

    export CATALINA_HOME = /PathName

    where PathName is the directory where you have installed Tomcat.

    For example,

    export CATALINA_HOME = /Tomcat

Setting the Java Heap Size

The Java heap size for the Tomcat can be modified by defining the JAVA_OPTS parameter in the catalina.sh file. For example, you can define this parameter as follows:

JAVA_OPTS = "-Xms1024m -Xmx2048m"

This value may need to be modified to reflect the requirements of your specific environment. Refer to your third-party application server documentation for information on how to determine a satisfactory Java heap size for your environment.