Liferay 6.1中与Solr 4.0集成的问题

时间:2017-02-16 05:57:42

标签: search solr liferay

我尝试在Windows中将Solr 4与Liferay 6.1集成。但是当我尝试创建一个集合时,我收到Permission denied错误。我已获得名为SOLR的文件夹的完全权限。

请查看以下日志。 有人可以帮我解决这个问题吗?

    INFO: Creating Collection : name=liferay&action=CREATE&numShards=2
    Feb 07, 2017 2:44:15 PM org.apache.solr.cloud.OverseerCollectionProcessor createCollection
    INFO: Create collection liferay on [W10368:8983_solr]
    Feb 07, 2017 2:44:15 PM org.apache.solr.cloud.OverseerCollectionProcessor createCollection
    SEVERE: Error talking to shard: W10368:8983/solr
    org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: http://W10368:8983/solr
    at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:413)        
    Caused by: java.net.SocketException: Permission denied: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)

    Feb 07, 2017 2:44:16 PM org.apache.solr.common.SolrException log
    SEVERE: Collection creation of liferay failed 

最重要的是,在部署Solr插件后,当我重新启动我的Portal服务器时,我收到以下错误。我试图将zookeeper jar版本更改为4.6,但我仍然遇到同样的问题。有人知道为什么会这样吗?

    21:45:47,256 ERROR [liferay/search_writer/SYSTEM_ENGINE-1][SolrIndexWriterImpl:147] java.lang.RuntimeException
    java.lang.RuntimeException
    at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:115)
    at org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:83)

0 个答案:

没有答案