Strategy ONE

Deploying Strategy Web and Mobile Server

Assuming you have made all the necessary configurations described above, you can begin deploying Strategy Web (JSP), Mobile Server (JSP) (JSP) with Tomcat.

Deploying using Tomcat as a stand-alone Web container

To deploy Strategy JSP applications using Tomcat as a stand-alone Web container

  1. Locate the WAR file for your Strategy JSP application.
  2. Copy the WAR file to the Tomcat\webapps folder.
  3. From the Start menu, select Run.
  4. Type cmd in the Open drop-down list and click OK.
  5. Browse to the Tomcat\bin folder, where Tomcat is the folder in which you installed Tomcat. For example, in the command prompt, type

    cd C:\Tomcat\bin
  6. Click Enter. C:\Tomcat\bin> is displayed at the command prompt.
  7. Type the required commands to start and stop Tomcat, which depends on your version of Tomcat. For example, for Tomcat 10, type Tomcat10 start to start Tomcat and type Tomcat10 stop to stop Tomcat. Refer to your third-party Apache documentation for information on the commands to start and stop Tomcat.

If you installed Tomcat under the Program Files folder, type Progra~1 when you change folders in the command prompt. Otherwise, the system does not recognize the folder. For example, type C:\Progra~1\Tomcat\bin in the command prompt.

Your Strategy JSP application is deployed automatically, based on the following:

  • If you have configured Tomcat to deploy an exploded WAR file, which is often the default behavior, a folder is created within the Tomcat\webapps folder:
    • When deploying Strategy Web (JSP), the folder is named MicroStrategy by default.
    • When deploying Strategy Mobile Server (JSP), the folder is named MicroStrategyMobile by default.
  • If you have configured Tomcat to deploy an unexploded WAR file, the configuration files are created within the system's default temporary file directory. For Windows systems, the temporary file directory is commonly defined by the TMP environment variable:
    • When deploying Strategy Web (JSP), a /microstrategy/web-Version/ folder is created within the temporary file directory, where Version is the version number for the Strategy Web (JSP) product. Within this folder location, various configuration files can be found within the WEB-INF folder and its subfolders.
    • When deploying Strategy Mobile Server (JSP), a /microstrategy/mobile-Version/ folder is created within the temporary file directory, where Version is the version number for the Strategy Mobile Server (JSP) product. Within this folder location, various configuration files can be found within the WEB-INF folder and its subfolders.

Configuring administrative access your Strategy JSP applications

To allow users authorized to access Strategy Web Administrator, Strategy Mobile Server Administrator, you must create the users and assign them the role of admin under the Tomcat user configuration file. The steps to configure this access are below.

To configure administrative access to your Strategy JSP applications

  1. In the Tomcat\conf folder, open the tomcat-users.xml file in a program that allows you to edit the file, such as Notepad.
  2. Add the following tag and save the file:

    <user name="administrator" password="administrator" roles="admin"/>

    You can specify any value in the user name and password fields.

  3. Stop and start Tomcat from the command line.

Accessing the Strategy JSP application administrative page

You can use the steps below to access the administrative page for your Strategy JSP application.

  1. Access the servlet by typing the following URL in a Web browser:
    • For Web (JSP): http://localhost:8080/MicroStrategy/servlet/mstrWebAdmin
    • For Mobile Server (JSP): http://localhost:8080/MicroStrategyMobile/servlet/mstrWebAdmin

    The servlet names at the end of the URL are case-sensitive. Make sure to use the correct case when typing the servlet name. If the application server is enabled with security, a dialog box related to the administrator authentication opens.

    If you are using Tomcat integrated with IIS, you do not need to specify the port number in the URL. However, when using Tomcat as a stand-alone Web container, you must specify the port number. The default port for Tomcat is 8080.

  2. When prompted for a user name and password, use the same values you specified in the tomcat-users.xml file.
  3. If you are deploying Strategy Web (JSP), the Strategy Web Administrator page appears. Add and connect to an Intelligence Server.
  4. If you are deploying Strategy Mobile Server (JSP), the Strategy Mobile Server Administrator page appears. Add and connect to an Intelligence Server. Once connected, click Mobile Configuration to configure your Strategy Mobile applications to communicate with Mobile Server and Intelligence Server. For steps on how to define this configuration, see the MicroStrategy Mobile Ajuda de administração. Creating a configuration completes the steps required to deploy Mobile Server (JSP).

Launching the project

In a Web browser, access Strategy Web (JSP) using this URL:

http://localhost:8080/MicroStrategy/servlet/mstrWeb