Issue with clustering of liferay - Liferay portal 6.2 GA6Issue with clustering of liferay - Liferay portal 6.2 GA6https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=754481552024-03-29T10:17:00Z2024-03-29T10:17:00ZRE: Issue with clustering of liferay - Liferay portal 6.2 GA6Jorge Diazhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=754755602016-06-18T16:03:43Z2016-06-18T16:03:43Z<html><head></head><body>About LPS-62521, the bug is caused by following change in <strong>JCRFactoryImpl.java</strong>:<br> - <a href="https://github.com/liferay/liferay-portal/commit/eb2dc9930ff437e2b75477632fd06dd1b7932cf0#diff-0cca0707f5cc6df43a785985ccb93688">https://github.com/liferay/liferay-portal/commit/eb2dc9930ff437e2b75477632fd06dd1b7932cf0#diff-0cca0707f5cc6df43a785985ccb93688</a><br><br>You can download last 6.2 GA6 community code from <a href="https://github.com/liferay/liferay-portal/tree/6.2.x">https://github.com/liferay/liferay-portal/tree/6.2.x</a>, add the removed code in <strong>JCRFactoryImpl.java</strong>:<br><pre><code> File repositoryRoot = new File(JCRFactoryImpl.REPOSITORY_ROOT);
if (repositoryRoot.exists()) {
return;
}</code></pre><br>and compile the whole Liferay project.<br><br>About <strong>Jackrabbit DBfile</strong> system you should not use it.<br>It has a lot of throughtput problems and few people use it, so it is a high chance to find new bugs that nobody has reported.<br><br>In my opinion, <strong>you should use FileSystemStore or AdvancedFileSystemStore</strong> with a shared filesystem between all your cluster nodes.<br><br>Another alternative is to store all files inside database, configuring DBStore, but I don't recommend it in case of big document libraries</body></html>Jorge Diaz2016-06-18T16:03:43ZIssue with clustering of liferay - Liferay portal 6.2 GA6Ramchand Gururajanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=754481542016-06-17T16:21:49Z2016-06-17T16:21:49ZHi All,<br />I am trying to setup the liferay in cluster mode using the steps given here.<br />https://dev.liferay.com/participate/liferaypedia/-/wiki/Main/JCRStore<br />https://dev.liferay.com/discover/deployment/-/knowledge_base/6-2/liferay-clustering<br /><br /> I have made server side configurations & also updated the repository.xml . Each time the tomcat restart , the repository.xml under jackrabbit folder resets to the original.<br /><br />Found this is a liferay bug & it status is fixed.<br />https://issues.liferay.com/browse/LPS-62521<br />________________________________________________________________________________________________<br />1) Request your help where i can get the updated portal-impl.jar which has this fix or should i build my jar on my own . Kindly provide the step for the same as well.<br /><br /> I also tried build the class file of the fix & place it in WEB-INF\classes but it is no use.<br />________________________________________________________________________________________________<br />2)Also please confirm if we migrate the Default document library contents into the Jackrabbit DBfile system. If so , please provide steps in order of execution . I have seen documentation that we should run Migration -> Server Administration . Should this be run after placing config files or before. Kindly confirm on the same . We have a doubt that only the Jackrabbit default filesystem will be used as a store if use migration under the server administration tab. <br /><br />________________________________________________________________________________________________<br />