Versions Compared

Key

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

Requirements 

  • Tomcat 7.0.70 and 8.5.5 were tested, so they are the recommended versions to run.
  • 4GB of RAM
  • 1 CPU
  • JDK - refer to http://tomcat.apache.org/whichversion.html for selecting. Tomcat 7 and 8 were both tested with JDK 1.8.60.

Tomcat Setup

If FlexDeploy is being installed for first time, setup Tomcat server and a Data Source as explained in following steps. If only updating, jump to installing the War. 

Install Tomcat

  • Download the version of Tomcat Core built for your environment from this link: http://tomcat.apache.org/download-80.cgi#8.5.5
  • Install a supported version of the JDK following the install procedures provided with the JDK
  • Set the JAVA_HOME variable to the location the JDK was installed to
  • Extract Tomcat to a folder where it will reside and run from.

Install jars into tomcat lib

Some jars are needed to support running an ADF application on Tomcat. Please download the following and put in the lib folder inside where you downloaded Tomcat.

Configure the 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.
Code Block
titleData Source
<Resource name="jdbc/flexdbDS" auth="Container" type="oracle.jdbc.pool.OracleDataSource" factory="oracle.jdbc.pool.OracleDataSourceFactory"              
url="jdbc:oracle:thin:@localhost:1521:xe" user="fd_admin" password="<password for fd_admin>" maxActive="100" maxIdle="10" maxWait="60" validationQuery="select 1 from dual" testOnBorrow="true"/>

Configure the Tomcat Environment

WINDOWS:

  • Create file setenv.bat in the tomcat \ bin folder
  • edit the file.


Code Block
titlesetenv.bat
set CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m -XX:MaxPermSize=512m -Doracle.mds.cache=simple -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true -Dflexagon.fd.repository.root=<real path on your server> -Dflexagon.fd.install.root=<real path on your server>


UNIX

  • Create file setenv.sh in the tomcat / bin folder.
  • edit the file.

Code Block
titlesetenv.sh
JAVA_HOME=<Path to your JAVA_HOME>
CATALINA_OPTS='-Xms1024m -Xmx2048m -XX:MaxPermSize=512m -Doracle.mds.cache=simple -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true -Dflexagon.fd.repository.root=<real path on your server> -Dflexagon.fd.install.root=<real path on your server>'



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.
    • ???

Anchor
installingTheWar
installingTheWar
War installation

Install the War:
    • Put the flexdeploy.war file into the webapps folder.
    • Start Tomcat
    • path to bin /startup.sh on UNIX or double click startup.bat in the tomcat\bin folder if you are on Windows.