Apache Tomcat 7 Update

With the update to Gentics CMS Version 5.18.0 it is mandatory to update the Apache Tomcat Installation. The tomcat binary files update itself is being applied automatically during the Gentics CMS update. Some configuration files have to be replaced before updating. This is explained on this page.

1 Configuration Update (Manual change)

Please execute the following steps before you install the Gentics CMS 5.18.0 update with Autoupdate. Otherwise your installation will not be able to restart. After replacing the configuration files, you should not restart or stop the Tomcat anymore before you’ve run the updater. If you are also migrating the Gentics CMS package to the new package format with system Apache, do the package migration first, make sure that Gentics CMS is running and then continue here.


# Log in as node user, alternatively you can do
# `chown -R node: /Node/etc/tomcat` in the end.
sudo -u node -s

# Create backup
cp -ra /Node/etc/tomcat /Node/tmp/tomcat_backup

# Switch to tomcat configuration directory
cd /Node/etc/tomcat

# Download new configuration files
wget http://www.gentics.com/Content.Node/guides/files/tomcat7-gcn-conf-5.18.0.tgz

# Extract configuration
tar --overwrite -xvzf tomcat7-gcn-conf-5.18.0.tgz

# Remove archive
rm tomcat7-gcn-conf-5.18.0.tgz
  
# You can now continue with executing the update process 
# via the autoupdate feature.