Upgrade Steps for Application Server Installations (Tomcat) upgrade-steps-for-application-server-installations-tomcat
Pre-Upgrade Steps pre-upgrade-steps
Before executing your upgrade, there are several steps that must be completed. See Upgrading Code and Customizations and Pre-Upgrade Maintenance Tasks for more information. Additionally, make sure that your system meets the requirements for AEM 6.5 LTS and see upgrade planning considerations and how the Analyzer can help you estimate the complexity.
Migration Prerequisites migration-prerequisites
- Minimum Required Java version: Make sure you have installed Oracle庐 JRE 17 on your Tomcat server.
- Tomcat server: The version of the Tomcat server required for 6.5 LTS is 11.0.x.
Performing the Upgrade performing-the-upgrade
All the examples in this procedure use Tomcat as the Application Server and imply that you have a working version of AEM already deployed. The procedure is meant to document upgrades performed from AEM version 6.5 to 6.5 LTS.
-
If AEM 6.5 is already deployed, check that the bundles are functioning correctly by accessing:
https://<serveraddress:port>/system/console/bundles
-
Next, stop AEM 6.5. This can be done from the Tomcat App Manager at:
https://<serveraddress:port>/manager/html
-
Make sure that you have completed the pre-upgrade activities like backup of AEM 6.5 server before performing any upgrade activity
-
Install Java 17 and make sure that it is correctly installed by running the command:
code language-none java 鈥搗ersion
-
Set up an AEM 6.5 LTS compatible Tomcat server
-
Review the start parameters for the AEM server and make sure to update the parameters accoding to the system requirements. See Java 17 Considerations for more information
-
Deploy the newly downloaded 6.5 LTS war on the Tomcat server using Java 17 and start AEM 6.5 LTS Tomcat server by running:
code language-none $CATALINA_HOME/bin/catalina.sh start
-
Once the AEM is up and running, make sure all the bundles are in running state by accessing:
https://<serveraddress:port>/cq/system/console/bundles
-
Stop the AEM 6.5 LTS Tomcat server. In most situations, you can do this by running the
./catalina.sh
script, by running this command from the terminal:code language-none $CATALINA_HOME/bin/catalina.sh stop
-
Now migrate your content from AEM 6.5 to AEM 6.5 LTS by following the steps here: AEM 6.5 to AEM 6.5 LTS Content Migration Using Oak-upgrade
-
Once the content has been migrated, apply any custom changes required in the
sling.properties
file -
Start the AEM 6.5 LTS Tomcat server by running:
code language-none $CATALINA_HOME/bin/catalina.sh start
-
Monitor the error logs while AEM starts up to check that there are no errors and AEM is running smoothly
-
Once AEM 6.5 LTS has started, check that the bundles are functioning correctly by accessing:
https://<serveraddress:port>/cq/system/console/bundles
Deploy Upgraded Codebase deploy-upgraded-codebase
Once the upgrade process has been completed, the updated code base should be deployed. Steps for updating the code base to work in the target version of AEM can be found in Upgrade Code and Customizations page.
Perform Post-Upgrade-Checks-And-Troubleshooting perform-post-upgrade-checks-and-troubleshooting
See Post Upgrade Checks and Troubleshooting for more information.