gpt4 book ai didi

solr - Liferay 6.2-ce-ga2 集群问题

转载 作者:行者123 更新时间:2023-12-04 21:39:30 24 4
gpt4 key购买 nike

Liferay 6.2-ce-ga2

我正在尝试对两个节点进行集群,我对两个节点都使用了 tomcat liferay bundle。

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

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

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

门户-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 6.2-ce-ga2
  • solr4-web-6.2.0.3.war 和
  • solr-4.3.1

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

    现在,如果我启动 liferay 服务器并从控制面板中删除用户,该用户将被删除,当我返回“用户和组织”时,系统进入无限循环(我可以从 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 内容文章,它不会反射(reflect)在页面中,即使它在数据库中已更新。它只能在重新启动两个服务器后才能查看。

    相似地,
    如果我从站点中删除私有(private)页面,我会在 liferay 控制台上收到这些错误并收到一条消息
    “网站页面暂时不可用。”

    该页面不会被删除。

    终身错误日志
    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?)这可能会导致与您描述的问题类似的问题。

    为了进一步尝试,您应该转到控制面板/服务器管理并尝试“重新索引搜索索引”以及“清除缓存”按钮。取决于哪一个成功:继续相关配置。

    关于solr - Liferay 6.2-ce-ga2 集群问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30127757/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com