Versions Compared

Key

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

To start FlexDeploy server in the background on Windows server, you can use Windows Service. It is similar in concept to a Unix daemon. A Windows service must conform to the interface rules and protocols of the Service Control Manager, the component responsible for managing Windows services. This document explains how to install the Windows Service and configure it to start automatically.

Info
titleImportant Note

This document covers Tomcat FlexDeploy Server start. Database server need to be started before the FlexDeploy Server.

...

Step 4: Now you can open the <FlexDeploy Home>/apache-tomcat-flexdeploy/bin/tomcat8wtomcat9w.exe executable to configure the service.

...

  • Please make sure to change C:\FD54\Tomcat_Complete-5.4.0.0 to your FlexDeploy Home.
  • Please make sure to change values for-Dflexagon.fd.install.root and -Dflexagon.fd.repository.root as you configured working directory and artifact repository in setup.bat.
  • Please make sure no spaces at the end of each line
Code Block
languagetext
titleJava Options
-Dcatalina.home=C:\FD54\Tomcat_Complete-5.4.0.0\apache-tomcat-flexdeploy
-Dcatalina.base=C:\FD54\Tomcat_Complete-5.4.0.0\apache-tomcat-flexdeploy
-Dignore.endorsed.dirs=C:\FD54\Tomcat_Complete-5.4.0.0\apache-tomcat-flexdeploy\endorsed
-Djava.io.tmpdir=C:\FD54\Tomcat_Complete-5.4.0.0\apache-tomcat-flexdeploy\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\FD54\Tomcat_Complete-5.4.0.0\apache-tomcat-flexdeploy\conf\logging.properties
-Doracle.mds.cache=simple
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true
-Dflexagon.fd.install.root=C:/flexdeploy/Tomcat_Complete-5.4.0.0/application
-Dflexagon.fd.repository.root=C:/flexdeploy/Tomcat_Complete-5.4.0.0/artifacts
-Djava.awt.headless=true
-verbose:gc
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-Xloggc:%CATALINA_BASE%/logs/gc.log
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=5
-XX:GCLogFileSize=2M

...

c. Add the FDLogFormatter (adjusted to fit the location) to the Java Classpath. Please make sure to change C:\FD53\Tomcat_Complete-5.34.0.30 to your FlexDeploy Home.

Code Block
languagetext
;C:\FD53FD54\Tomcat_Complete-5.34.0.34\apache-tomcat-flexdeploy\bin\FDLogFormatter.jar

...