Liferay 6.2-ce-ga2 集群问题

Liferay 6.2-ce-ga2 clustering issue

Liferay 6.2-ce-ga2

我正在尝试集群两个节点,我正在为两个节点使用 tomcat liferay 包。

我使用了以下博客 post 作为参考和许多其他 https://dev.liferay.com/discover/portal/-/knowledge_base/6-1/liferay-clustering

两个节点都按预期启动,但它们不同步。我的控制台上没有任何错误。我使用直接 URL 登录到特定节点并说,添加了一个组织或发布了一篇网络内容文章,当我通过另一个节点登录时没有得到反映。我通过特定节点更新的内容仅在该节点中可见。

来自两个节点的每个更改都在数据库中更新。

传送门-ext.properties

 dl.store.file.system.root.dir= /cmsdata

 cluster.link.enabled=true
 lucene.replicate.write=true


jdbc.default.driverClassName=oracle.jdbc.driver.OracleDriver
jdbc.default.url=jdbc:oracle:thin:@xxxxxxxxxxxxxxx:1521:example
jdbc.default.username=username
jdbc.default.password=password

我是否缺少任何配置...?


经过一些配置更改

我正在使用

经过一些配置更改后,Liferay 和 SOLR 现已启动 运行。 SOLR 在单独的 Tomcat.

上 运行

现在,如果我启动 liferay 服务器并从控制面板中删除一个用户,该用户将被删除,当我返回 "Users and Organizations" 时,系统运行进入无限循环(我可以从 SOLR 控制台看到),我将不得不关闭 Liferay 服务器以使其脱离循环。

日志

2705809 [http-bio-8077-exec-9] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={fl=*&sort=lastName_sortable+asc&start=0&q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&facet.limit=-1&wt=javabin&version=2&rows=2} hits=2 status=0 QTime=0
2705819 [http-bio-8077-exec-1] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&wt=javabin&version=2&rows=0} hits=2 status=0 QTime=1
2705828 [http-bio-8077-exec-9] INFO  org.apache.solr.update.processor.LogUpdateProcessor  – [collection1] webapp=/solr-example path=/update params={wt=javabin&version=2} {delete=[125_PORTLET_13232 (-1501157056068976640)]} 0 0
2705829 [http-bio-8077-exec-1] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={fl=*&sort=lastName_sortable+asc&start=0&q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&facet.limit=-1&wt=javabin&version=2&rows=2} hits=2 status=0 QTime=1
2705839 [http-bio-8077-exec-1] INFO  org.apache.solr.update.processor.LogUpdateProcessor  – [collection1] webapp=/solr-example path=/update params={wt=javabin&version=2} {delete=[125_PORTLET_13232 (-1501157056080510976)]} 0 0
2705839 [http-bio-8077-exec-9] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&wt=javabin&version=2&rows=0} hits=2 status=0 QTime=0
2705849 [http-bio-8077-exec-9] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={fl=*&sort=lastName_sortable+asc&start=0&q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&facet.limit=-1&wt=javabin&version=2&rows=2} hits=2 status=0 QTime=0
2705859 [http-bio-8077-exec-9] INFO  org.apache.solr.update.processor.LogUpdateProcessor  – [collection1] webapp=/solr-example path=/update params={wt=javabin&version=2} {delete=[125_PORTLET_13232 (-1501157056101482496)]} 0 0
2705859 [http-bio-8077-exec-1] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&wt=javabin&version=2&rows=0} hits=2 status=0 QTime=0
2705869 [http-bio-8077-exec-9] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={fl=*&sort=lastName_sortable+asc&start=0&q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&facet.limit=-1&wt=javabin&version=2&rows=2} hits=2 status=0 QTime=0
2705879 [http-bio-8077-exec-1] INFO  org.apache.solr.core.SolrCore  – [collection1] webapp=/solr-example path=/select params={q=%2B(%2B((%2B(entryClassName:com.liferay.portal.model.User)+%2B(status:0)+%2B(organizationCount:0))))+%2BcompanyId:10159&wt=javabin&version=2&rows=0} hits=2 status=0 QTime=0

此外, 如果我们添加新的 Web 内容文章,它不会反映在页面中,即使它已在数据库中更新。需要重启两台服务器后才能查看。

同样, 如果我从站点删除私人页面,我会在 liferay 控制台上收到这些错误并收到一条消息 "Site Pages is temporarily unavailable."

页面不会被删除。

终身错误日志

14:08:55,711 WARN  [http-bio-8087-exec-8][ProxyMessageListener:81] com.liferay.portal.kernel.search.SearchException
com.liferay.portal.kernel.search.SearchException
        at com.liferay.portal.search.solr.SolrIndexSearcher.search(SolrIndexSearcher.java:121)
        at com.liferay.portal.search.solr.SolrIndexSearcher.search(SolrIndexSearcher.java:139)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)
        at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)
        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
        at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:41)
        at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:54)
        at com.liferay.portal.kernel.messaging.proxy.BaseMultiDestinationProxyBean.synchronousSend(BaseMultiDestinationProxyBean.java:48)
        at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyInvocationHandler.invoke(MultiDestinationMessagingProxyInvocationHandler.java:50)
        at com.sun.proxy.$Proxy279.search(Unknown Source)
        at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:591)
        at com.liferay.portlet.messageboards.util.MBMessageIndexer.doDelete(MBMessageIndexer.java:224)
        at com.liferay.portal.kernel.search.BaseIndexer.delete(BaseIndexer.java:138)
        at com.liferay.portlet.messageboards.service.impl.MBThreadLocalServiceImpl.deleteThread(MBThreadLocalServiceImpl.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.sun.proxy.$Proxy163.deleteThread(Unknown Source)
        at com.liferay.portlet.messageboards.service.impl.MBThreadLocalServiceImpl.deleteThread(MBThreadLocalServiceImpl.java:140)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.sun.proxy.$Proxy163.deleteThread(Unknown Source)
        at com.liferay.portlet.messageboards.service.impl.MBMessageLocalServiceImpl.deleteDiscussionMessages(MBMessageLocalServiceImpl.java:503)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.sun.proxy.$Proxy160.deleteDiscussionMessages(Unknown Source)
        at com.liferay.portal.service.impl.LayoutLocalServiceImpl.deleteLayout(LayoutLocalServiceImpl.java:615)
        at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.doDeleteLayout(LayoutLocalServiceStagingAdvice.java:512)
        at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.deleteLayout(LayoutLocalServiceStagingAdvice.java:112)
        at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.deleteLayout(LayoutLocalServiceStagingAdvice.java:125)
        at com.liferay.portal.service.impl.LayoutLocalServiceStagingAdvice.invoke(LayoutLocalServiceStagingAdvice.java:159)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.sun.proxy.$Proxy32.deleteLayout(Unknown Source)
        at com.liferay.portal.service.impl.LayoutServiceImpl.deleteLayout(LayoutServiceImpl.java:323)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
        at com.sun.proxy.$Proxy34.deleteLayout(Unknown Source)

------------------------------------------------------

14:08:55,781 ERROR [http-bio-8087-exec-8][render_portlet_jsp:132] null
com.liferay.portal.kernel.search.SearchException
        at com.liferay.portal.search.solr.SolrIndexSearcher.search(SolrIndexSearcher.java:121)
        at com.liferay.portal.search.solr.SolrIndexSearcher.search(SolrIndexSearcher.java:139)
        at com.liferay.portal.kernel.messaging.proxy.ProxyRequest.execute(ProxyRequest.java:85)
        at com.liferay.portal.kernel.messaging.proxy.ProxyMessageListener.receive(ProxyMessageListener.java:51)
        at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
        at com.liferay.portal.kernel.messaging.SynchronousDestination.send(SynchronousDestination.java:41)
        at com.liferay.portal.kernel.messaging.sender.DirectSynchronousMessageSender.send(DirectSynchronousMessageSender.java:54)
        at com.liferay.portal.kernel.messaging.proxy.BaseMultiDestinationProxyBean.synchronousSend(BaseMultiDestinationProxyBean.java:48)
        at com.liferay.portal.messaging.proxy.MultiDestinationMessagingProxyInvocationHandler.invoke(MultiDestinationMessagingProxyInvocationHandler.java:50)
        at com.liferay.portal.kernel.search.SearchEngineUtil.search(SearchEngineUtil.java:591)
        at com.liferay.portlet.messageboards.util.MBMessageIndexer.doDelete(MBMessageIndexer.java:224)
        at com.liferay.portal.kernel.search.BaseIndexer.delete(BaseIndexer.java:138)
        at com.liferay.portlet.messageboards.service.impl.MBThreadLocalServiceImpl.deleteThread(MBThreadLocalServiceImpl.java:158)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
        at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
        at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:51)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
        at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
        at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)

如果您没有任何特定的自定义集群配置,则不需要配置

的值
net.sf.ehcache.configurationResourceName=/custom_cache/hibernate-clustered.xml
ehcache.multi.vm.config.location=/custom_cache/liferay-multi-vm-clustered.xml

6.2 中的更多内容。 如果您配置它们,您必须确保您的类路径确实有您引用的/custom_cache/*文件并且它们是正确的.您应该先尝试使用默认值(例如删除这两行)

你的 dl.store.file.system.root.dir 看起来它只在同一台服务器上工作 - 它必须指向两个节点的相同物理目录(例如,可以是映射的网络驱动器。如果它确实是,请忽略此评论)

两个节点必须指向同一个数据库。

如果没有进一步的配置,两个节点将使用多播来相互检测。如果网络上的多播被停用,它们将无法通信,您必须明确设置单播通信。日志条目应该会告诉您是否已成功找到其他节点。

请注意,GA4 已发布 - 如果您 运行 遇到错误,它可能会在最新版本中得到修复。

此外,您似乎没有同步您的 lucene 搜索索引(或者您使用的是 SOLR?)这可能会导致与您描述的问题类似的问题。

为了进一步尝试,您应该转到控制面板/服务器管理并尝试 "reindex search indexes" 以及 "clear caches" 按钮。看哪一个对你成功:继续相关配置。