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
- Locate the WAR file for your Strategy JSP application.
- Copy the WAR file to the
Tomcat\webappsfolder. - From the Start menu, select Run.
- Type
cmdin the Open drop-down list and click OK. -
Browse to the
Tomcat\binfolder, whereTomcatis the folder in which you installed Tomcat. For example, in the command prompt, typecd C:\Tomcat\bin - Click Enter.
C:\Tomcat\bin>is displayed at the command prompt. - Type the required commands to start and stop Tomcat, which depends on your version of Tomcat. For example, for Tomcat 10, type
Tomcat10 startto start Tomcat and typeTomcat10 stopto 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\webappsfolder:- When deploying Strategy Web (JSP), the folder is named
MicroStrategyby default. - When deploying Strategy Mobile Server (JSP), the folder is named
MicroStrategyMobileby default.
- When deploying Strategy Web (JSP), the folder is named
- 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
TMPenvironment variable:- When deploying Strategy Web (JSP), a
/microstrategy/web-Version/folder is created within the temporary file directory, whereVersionis the version number for the Strategy Web (JSP) product. Within this folder location, various configuration files can be found within theWEB-INFfolder and its subfolders. - When deploying Strategy Mobile Server (JSP), a
/microstrategy/mobile-Version/folder is created within the temporary file directory, whereVersionis the version number for the Strategy Mobile Server (JSP) product. Within this folder location, various configuration files can be found within theWEB-INFfolder and its subfolders.
- When deploying Strategy Web (JSP), a
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
- In the
Tomcat\conffolder, open thetomcat-users.xmlfile in a program that allows you to edit the file, such as Notepad. - Add the following tag and save the file:
<user name="administrator" password="administrator" roles="admin"/>You can specify any value in the
user nameandpasswordfields. - 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.
- 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.
- For Web (JSP):
- When prompted for a user name and password, use the same values you specified in the
tomcat-users.xmlfile. - 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).
Launching the project
In a Web browser, access Strategy Web (JSP) using this URL:
http://localhost:8080/MicroStrategy/servlet/mstrWeb
