JavaServer Page

December 7, 2006

The 0 indicates the offset from the beginning

Filed under: OpenCms 6 — webmaster @ 11:37 am

The next thing to do is extract the contents of the opencms_upgrade_to_6.2.1.zip file. It is best to unzip the archive into a temporary directory. Once you have unzipped the file, you should have three items in your working directory the WEB-INF folder, the update folder, and the readme.txt file. The readme.txt file will contain a brief set of instructions on the upgrade process. The WEB-INF folder contains the new and updated OpenCms files. The update folder contains the upgrade wizard. 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 the wizard back on. After doing the original installation of OpenCms, the installer automatically disables the wizard interface. To do an upgrade, we need the wizard interface re-enabled. With the text editor of your choice, open the file $CATALINA_HOME/webapps/opencms/ WEB-INF/config/opencms.properties. At the very bottom of this file is a line that reads: wizard.enabled=false Change false to true, save the file, and close the editor. At this point, you can restart tomcat. Running the Upgrade Wizard We are now ready to run the web-based upgrade wizard. Open a web browser and point it to the upgrade wizard. The URL should be something like http://myserver:8080/ opencms/update.

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost tomcat Web Hosting services

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by Java Web Hosting