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
- Locate the WAR file for your Strategy JSP application.
- Copy the WAR file to the
Tomcat/webappsdirectory.
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/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 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, 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 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.
- In the
Tomcat/confdirectory, open thetomcat-users.xmlfile using a program that allows you to edit the file. -
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 nameandpasswordfields. These are used to log in to the Strategy Web Administrator and Mobile Server Administrator pages. Therolesfield must beadmin. - 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.
- 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/mstrWebAdminThe 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.
- For Web (JSP):
- When prompted for a user name and password, use the same values you specified in the
tomcat-users.xmlfile. - 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).
-
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
