Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FlexDeploy provides a zip file distribution for Tomcat which simplifies the installation process.  This distribution contains Tomcat, the FlexDeploy WAR, and the base configurations, leaving only a few simple steps to complete the install. The distribution contains the following components. 

  • A tomcat 8.5.11 server with required libraries, and base configurations
  • The FlexDeploy WAR
  • The FlexDeploy database installation scripts
  • The FlexDeploy plugins

database. This is the easiest way to try out FlexDeploy.

Requirements 

...

5 steps to running FlexDeploy with embedded database

Step 1. Ensure Java 8 64 bit is installed on the servercomputer.

Step 2. Extract the zip file in to the desired location (referred to as "FlexDeploy Home" in this document). See example below, where zip was extracted in C:/\installs/\FlexDeploy folder.

Step 3. (Optional) Modify Tomcat server.xml for port if necessary. 

File - <FlexDeploy Home>/apache-tomcat-flexdeploy/conf/server.xml

...

Tomcat

...

Step 4. Modify Tomcat Environment script setenv.bat for JAVA_HOME.

...

This file would look something like this.

Step 54. Start tomcat by running the following script. (Double click on it, or run it from a command window)

File - <FlexDeploy Home>/StartWithPostgres.bat

Step 65. Launch FlexDeploy in your browser. (It will take about 3-5 minutes the first time as a lot of data is loaded into the database the first time)

  • http://hostnamelocalhost:8000/flexdeploy
    • Update hostname in URL to indicate host where FlexDeploy is installed.
    • Update port if you had modified server.xml for different port number.
  • You will need to complete the Initial Registration process, where you will create admin user for login.

...

If FlexDeploy doesn't appear after a few minutes, here are some troubleshooting tips:

  • Logs are located at <FlexDeploy Home>/apache-tomcat-flexdeploy/logs
  • Usually opening flexdeploy.0.log is the best way to find the problem. The most common problem is that a port that Tomcat wants to use is already in use.
  • By default, the Tomcat server is configured to run on port 8000. If this port is in use, change to some other unused port. Search for <Connector port="8000" protocol="HTTP/1.1" if you want to change it.
  • Edit the file at <FlexDeploy Home>/apache-tomcat-flexdeploy/conf/server.xml
  • There are other ports referenced in the server.xml file as well. If the logs contain a port in use error, you can find the open ports on your machine and then search this file for ports that you find are in use and change them.
  • If the logs folder doesn't have any useful information, and you aren't sure what else to try, use a command window and go to the bin folder. Then execute the command "catalina.bat run" A better error message should be shown.
  • If you still aren't sure what to do, email us at our support site, support@flexagon.com