...
Create file setenv.bat in the <TOMCAT_HOME>/bin folder. Edit the file to have following lines. Update location of JAVA_HOME as appropriate.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
set JAVA_HOME=C:/installs/Java/jdk1.8.0_121 set CATALINA_OPTS=%CATALINA_OPTS% -verbose:gc -Xms1024m -Xmx2048m -Doracle.mds.cache=simple -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true -Dflexagon.fd.repository.root=/opt/flexdeploy/repository -Dflexagon.fd.install.root=/opt/flexdeploy/application -Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom |
...
Setup Logger Configuration
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 | ||||
---|---|---|---|---|
|
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 | ||
---|---|---|
| ||
.handlers = 5fd.org.apache.juli.AsyncFileHandler
5fd.org.apache.juli.AsyncFileHandler.level = ALL
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
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/flexdeploy].level = INFO
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/flexdeploy].handlers = 5fd.org.apache.juli.AsyncFileHandler
.level=INFO
flexagon.level=INFO
org.apache.jasper.servlet.level = WARNING
oracle.adf.share.security.level=SEVERE
oracle.adf.share.jndi.ReferenceStoreHelper.level=SEVERE
|
WAR Installation
Put the flexdeploy.war file into the webapps folder. It is found in the FlexDeploy-Tomcat.zip file
Include Page | ||||
---|---|---|---|---|
|
WAR Installation
- Copy Tomcat_Complete.zip/apache-tomcat-flexdeploy/webapps
...
- /flexdeploy.war file into <TOMCAT_HOME>/
...
- webapps folder.
- Start Tomcat.
- Unix
- cd <tomcat install>/bin
- ./startup.sh
- Windows
- Double click startup.bat in the <tomcat install>\bin folder.
- Unix