Strategy ONE

Deploying Strategy Web and Mobile Server

After you have performed the configurations described above, you can begin deploying Strategy JSP applications with Tomcat.

Deploying using Tomcat as a standalone Web container

To deploy Strategy JSP applications using Tomcat as a standalone Web container

  1. Locate the WAR file for your Strategy JSP application.
  2. Copy the WAR file to the Tomcat/webapps directory.

To start and stop Tomcat from the command line

Type # $CATALINA_HOME/bin/startup.sh and click Enter to start Tomcat, which deploys your Strategy JSP applications 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 Linux systems, the temporary file directory is usually /tmp/ or /var/tmp/:
    • 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 to 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.

  1. In the Tomcat/conf directory, open the tomcat-users.xml file using a program that allows you to edit the file.
  2. Add the following tags and save the file:

    <role rolename="admin"/>

    <user username="admin" password="admin" roles="admin"/>

    You can specify any value in the user name and password fields. These are used to log in to the Strategy Web Administrator and Mobile Server Administrator pages. The roles field must be admin.

  3. Stop and restart Tomcat.

Now you can access and configure your Strategy JSP application, as described in Accessing the Strategy JSP application administrative page.

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.

  2. When prompted for a user name and password, use the same values you specified in the tomcat-users.xml file.
  3. After you are authenticated:
    • If you are deploying Strategy Web (JSP), the Strategy Web Administrator page appears. Add and connect to an Intelligence Server.
    • 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 Strategy Mobile Administration Help. Creating a configuration completes the steps required to deploy Mobile Server (JSP).
  4. If you are deploying Strategy Web (JSP), proceed to launch the Strategy project. In a Web browser, access Strategy Web (JSP) using the following URL:

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