Versions Compared

Key

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

Requirements 

...

    • Extract zip files in flat structure using unzip -j (works on Windows and UNIX)
      • cd <tomcat lib folder>
      • unzip -j <path to temp folder>/adf-essentials.zip
      • unzip -j <path to temp folder>/adf-essentials-client-ear.zip
    • You should see a large number of jars now in the tomcat/lib folder.
  • Download the following jars and place them in tomcat/lib as well please.
  • FDLogFormatter.jar is found on the support site, and should also be put in the tomcat/lib folder.

Configure Data Source

  • Open context.xml for editing. It is located in the conf folder where you extracted Tomcat.
  • Add the following text, changing <password for fd_admin> to the actual password.

...

Info

Please make sure to modify the arguments for Server working directory (-Dflexagon.fd.install.root) and Artifacts repository (-Dflexagon.fd.repository.root) as per your installation.

Setup Logger Configurations.

If you are working with a new Tomcat instance that is only running FlexDeploy, you can simply download the logging.properties file and place it in the tomcat/conf folder.

View file
namelogging.properties
height250

If you are running multiple applications on Tomcat, you will want to edit the logging.properties file as suggested below.

  • Edit logging.properties in the Tomcat/conf folder
  • Add a new handler to the handlers line (starts with handlers=) by adding an additional handler to the end of the list.
Code Block
, 5fd.org.apache.juli.AsyncFileHandler


Add the following lines to the file:


Code Block
org.apache.jasper.servlet.level = WARNING
flexagon.handlers = 5fd.org.apache.juli.AsyncFileHandler


org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/flexdeploy].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/flexdeploy].handlers = 5fd.org.apache.juli.AsyncFileHandler
flexagon.handlers = 5fd.org.apache.juli.AsyncFileHandler
5fd.org.apache.juli.AsyncFileHandler.level = INFO
5fd.org.apache.juli.AsyncFileHandler.prefix = flexdeploy.
5fd.org.apache.juli.AsyncFileHandler.formatter = flexagon.fd.logging.FlexDeployLogFormatter


WAR Installation

Put the flexdeploy.war file into the webapps folder.

...

path to bin /startup.sh on UNIX or double click startup.bat in the tomcat\bin folder if you are on Windows.

5fd.org.apache.juli.AsyncFileHandler.level = INFO
5fd.org.apache.juli.AsyncFileHandler.directory = ${catalina.base}/logs
5fd.org.apache.juli.AsyncFileHandler.prefix = flexdeploy.
5fd.org.apache.juli.AsyncFileHandler.formatter = flexagon.fd.logging.FlexDeployLogFormatter