Deploying a Thinkmap Application to another Server

Introduction

This page outlines how to deploy a Thinkmap project that uses a Thinkmap datasource to another server.

When creating and working on Thinkmap projects, developers are using the Thinkmap Developer license. This is the license that you enter into the Thinkmap startup screen when you start Thinkmap for the first time. Typically you only need to enter this license once for each developer.

However, if you wish to deploy this project to a separate server, then you need to obtain a Thinkmap Server License as well as follow some additional steps.

Choosing a Server to Host Your Thinkmap Application

If your project uses a Thinkmap Datasource, you must elect to use a Java Servlet Container to host your datasource. There are several different types of servlet containers available both commercially and free. We recommend Tomcat 7 (which can be downloaded for free) and will demonstrate the steps later on how to deploy to this server type.

Obtaining A Thinkmap Server License

Typically when you purchase Thinkmap, both an official Developer and Server license are sent to you. The Developer license is just entered into the startup screen but the the server license is used only for deploying projects to other machines or servers.

If you wish to evaluate the Thinkmap server license or have misplaced it, please contact Thinkmap Sales and they issue you the appropriate license.

Installing and Using The Server License

The license file is typically sent or downloaded as a text file.

  1. Download this license file and make a copy, changing the name of the copied file to just be "license.cer"
  2. Navigate to the Thinkmap project that you wish to deploy to another server and place this license under the projects WEB-INF directory. The full path should read project/webapp/WEB-INF/license.cer
  3. Using Tomcat as an example, copy the entire project and place the project under the webapps directory. This location may be different depending on the servlet container you are using.
  4. Configure the necessary database resources so this project can connect to any remote databases. Follow the original steps used when originally setting up the database connection on your local machine. The steps remain the same with the exception that the context.xml file for your project will most likely not use a docbase as you placed the project in Tomcat's webapps directory.

Contacting Thinkmap Support

If you have issues deploying Thinkmap and have a maintenance contract, please contact support@thinkmap.com