Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  • Tomcat will use the name of your context file (or link) as the path name of the web application in the URL (e.g. http://localhost:8080/fmprodImage Removed).
  • To run the web application, perform the following steps:
    1. Start file manager.
    2. (Re)start Tomcat.

Context Setup

Wiki MarkupThe context file lets Tomcat know where to find the web application and sets parameters for the web application. These parameters include the URL for the the file manager, a temporary working directory and configuration files for outputs. Absolute paths can be used for all of these items. Environment variables enclosed in square brackets, e.g. {{\[FILEMGR_HOME\]}} or {{\[FMPROD_HOME\]}}, can also be included in the paths for all parameters (but not for the web application's location).

Web Application Location

Alter the value of the Context element's docBase attribute to point to the location of your built web application, i.e. the WAR (.war) file. (You could copy the WAR to a new location or leave it in its original location - but remember that if you leave it in the original location and then run mvn clean it will no longer exist in that location!). For example:

...

Edit the parameter named filemgr.url and change its value to the URL of your file manager. By default, the web application will look for a file manager instance running at http://localhost:9000Image Removed but you can change the URL to a different one if you need to.

...