- How to make new stuff from your piles of obsolete tech
- Why your computer sucks
- 10 recession-proof IT skills
- Juniper execs share network vision
- 9-year-old plots his fifth Microsoft certification
We have installed the Liferay portal software on a Windows server and accepted the installation default settings. Now we need to move our document library from its default location on the C: drive to a different disk partition. Can we move the existing data safely and configure Liferay to use the new repository, or do we have to start over?
It is possible to move a default Liferay document library to a new disk location and configure Liferay to use the new repository. First, stop the Tomcat service and make a backup of the repository home directory C:\home. To move the repository from disk C: to disk F:, add this line - jcr.jackrabbit.repository.root=F:\\home\\liferay\\jackrabbit - to the file WEB-INF\classes\portal-ext.properties to override the default location defined by the master portal.properties file. Defining your changes in the portal-ext.properties file simplifies the upgrade procedure when Liferay updates are installed. Then copy the contents of the original repository from C:\home to the new location in F:\home. You can use the Java Web Start version of the program Luke to test that your repository content and index copied successfully by aiming the Luke browser at the F:\home\liferay folder. Then you can restart Tomcat and test that your document library has been moved successfully and works properly.
Blass is an IT manager in Phoenix and can be reached at dr.internet@jschnee.com.
Comment