O'Reilly logo

Managing and Customizing OpenCms 6 by Matt Butcher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Moving Files

At this point, we will start moving files. Make sure your servlet container (for example, Tomcat) is stopped. If it is running during the upgrade, you may corrupt the OpenCms installation.

Copy the update folder into the root directory of the existing OpenCms installation. With Tomcat, this is in $CATALINA_OPTS/webapps/opencms. (Chapter 2 tells you where these files are stored on the file system.)

Copy the contents of the WEB-INF folder from the upgrade package to the WEB‑INF folder in your existing OpenCms folder. This will overwrite a number of files, which is exactly what you want—new versions of OpenCms libraries will replace the older versions.

There is one last thing to do before restarting the servlet container—we need to turn ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required