The content of this chapter is intended for system administrators. Here, you can learn how to install and configure Web Application Platform and its services without using the installer file.

Web Application Platform with its services can run on the following third-party web servers like:

  • Apache Tomcat
  • GlassFish
  • WildFly
  • Eclipse Jetty

Installation prerequisites and other important information

Before installing Web Application Platform with services, you need to:

  • Have a working instance of Magic Collaboration Studio.
  • If you intend to install the Cameo Collaborator for Teamwork Cloud service, make sure that DSLS or the FlexNet license server is installed beforehand.
  • For deployment on Linux, increase the open file limit for the OS (or for Web Application Platform/Tomcat) to a minimum of 20 000 files.
  • Have access to the KeyStore file with the same certificate that is used in Magic Collaboration Studio for authentication configuration.
  • Download the Web_App_Platform_<version number>_<operating system>_no_install.zip file which includes the following web applications:
    • admin.war - The service for managing Magic Collaboration Studio users, roles, and resource assignments.
    • authentication.war - The service allowing users to authenticate access to Magic Collaboration Studio.
    • collaborator.war - The service allowing users to review, edit, and collaborate on Cameo Collaborator for Teamwork Cloud documents.
    • document-exporter.war - The service allowing users to export Cameo Collaborator for Teamwork Cloud documents to PDF and HTML.
    • oslc.war - The service allowing users to browse the model through OSLC.
    • reports.war - The service allowing users to export Teamwork Cloud server-related data to XLSX or CSV.
    • resources.war - The service for managing Magic Collaboration Studio resources.
    • resource-usage-map.war - The service with live visual graph capabilities representing Magic Collaboration Studio resource usages and identifying potential problem areas.
    • simulation.war - The service allowing users to simulate Magic Collaboration Studio projects on the server side.
    • webapp.war - The core Web Application Platform service.

Before starting the installation, you should know the following:

  • We recommend installing Web Application Platform and Magic Collaboration Studio on different machines.
  • Before installing Web Application Platform, make sure to note down Zookeeper, Cassandra, Magic Collaboration Studio, and the license server information (e.g., hostname and port), as well as the KeyStore file location (you can find it in the <install_root>/TeamworkCloud/configuration directory). You will need this data during installation.
  • After installing Web Application Platform, it is recommended to stop the WebApp service on the machine where Magic Collaboration Studio is installed.


To install Web Application Platform


  1. Download and install the web server on which Web Application Platform will run. For installation instructions, see the documentation of the server you intend to install.
  2. Download and extract the Web_App_Platform_<version number>_<operating system>_no_install.zip file.
  3. Open for editing the <no-install_root>/CATIANoMagicServices/WebAppPlatform/shared/conf/webappplatform.properties file, read the comments with property descriptions, and specify the following:
    • Web Application Platform properties
    • Authentication server properties
    • Teamwork Cloud server properties
    • FlexNet/DSLS server properties
    • Platform service discovery-related properties
  4. If you want to install the Authentication server (authentication.war) together with Web Application Platform, do the following:
    1. Copy the KeyStore file to the <no-install_root>/CATIANoMagicServices/WebAppPlatform/shared/conf/ directory.
    2. Open for editing the <no-install_root>/CATIANoMagicServices/WebAppPlatform/shared/conf/authserver.properties file, read the comments with property descriptions, and specify the following:
  5. Place the following files into the location that is on the classpath of the web server you have installed:
    • <no-install_root>/CATIANoMagicServices/WebAppPlatform/shared/conf/webappplatform.properties file
    • <no-install_root>/CATIANoMagicServices/WebAppPlatform/shared/conf/authserver.properties file (if you plan to install the Authentication server (authentication.war))
    • <no-install_root>/CATIANoMagicServices/WebAppPlatform/shared/conf/data directory containing email notifications and document exporter templates (if you plan to install Cameo Collaborator for Teamwork Cloud (collaborator.war) and/or document exporter (document-exporter.war))

      Example

      If you have installed Apache Tomcat 10.1 or a later version, you can choose from the following options (refer to server documentation for all available options):

      • Place the webappplatform.properties file in the <tomcat_home>/shared/conf directory. Then open the <tomcat_home>/conf/catalina.properties file and set the shared.loader property as shared.loader="<catalina_base>/shared/conf".
      • Place the webappplatform.properties file in a custom directory. Add the path to the directory to the list of shared classloader paths defined by the "shared.loader" property in the ${tomcat.home}/conf/catalina.properties file. 

      If you have installed a different web application server, refer to its user manual.

  6. Deploy the desired web applications, e.g., webapp.war, admin.war, collaborator.war, resources.war, etc.
  7. Open a web browser and navigate to http(s)://<host>:<web_server_port>/<platform_root>/. You should see a blank page.

  8. If you chose to install Cameo Collaborator for Teamwork Cloud, apply the Cameo Collaborator for Teamwork Cloud license.


For information on how to start Web Application Platform, refer to Starting and Stopping Web Application Platform. You can access Web Application Platform by opening a web browser and navigating to http(s)://<domain_name>:<port>/webapp.