Versions Compared

Key

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

...

Step 5. Delete the apache-tomcat-flexdeploy folder and copy over the new one from the distribution zip.

Step 6. Next copy over Copy the context.xml from the old install and overwrite the new one. This is located in file from the backup folder (step 4) into <FlexDeploy Home>/apache-tomcat-flexdeploy/conf

Step 7. Now edit Edit the new server.xml and modify the HTTP/HTTPS ports to match that of the original file which was backed up in Step step 4. This file is located in the<FlexDeploy Home>/apache-tomcat-flexdeploy/conf folder.  DO NOT simply copy over the backup file as there are other changes which must be preserved.

Step 8. SetEnvEdit the setenv.sh (on Linux) or SetEnv setenv.bat (on Windows) will also need to be modified.  Only the one for your operating system needs to be edited. These files are located in <FlexDeploy Home>/apache-tomcat-flexdeploy/bin.In Particular pay attention to the top few lines, if it is pointing directly to the JDK somewhere that will need to be changed. Also the install root, and repository root are important to pay attention to, as these are commonly changed options. If any other options are configured those will also need to be configured in the new file. Essentially any modifications that were made to the original file need to be made to the new one also.

  • The first few lines of the file are responsible for setting the JAVA_HOME.  Update the script to set this variable the same as in the backup file.
  • Review the CATALINA_OPTS environment variable.  Compare the java parameters with those of the backup file, and copy over any missing options.  You will notice that the -Dflexagon.fd.install.root and -Dflexagon.fd.repository.root parameters are now derived using updated logic.  If you had changed from the default (relative to CATALINA_HOME) you can update the values to match that of the backup file.  If you had not changed from the default you can leave those parameters unchanged.
    • The default value for -Dflexagon.fd.install.root was previously -  $CATALINA_HOME/../application
    • The default value for -Dflexagon.fd.repository.root was previously -  $CATALINA_HOME/../artifacts

Step 9. Copy plugins from download zip for auto upload.

...