Skip Links

Network World

  • Social Web 
  • Email 
  • Close

(Comma separation for multiple addresses)
Your Message:

Ask Dr. Internet

Dr. Internet By Steve Blass , Network World , 04/02/2007
Steve Blass
  • Share/Email
  • Tweet This
  • Comment
  • Print

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.

 

  • Share/Email
  • Tweet This
  • Comment
  • Print
Comment
Login
Forgot your account info?
Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a NetworkWorld account? Log in here. Register now for a free account.

Videos

rssRss Feed