[jira] [Commented] (OFBIZ-6715) Solr rebuild problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6715) Solr rebuild problem

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239665#comment-15239665 ]

Ingo Wolfmayr commented on OFBIZ-6715:
--------------------------------------

Hi Jacques,

sorry for not responding. I am currently in a project and did  not find the time to test it entirely. From what I tested right now I do not think that we have a final solution. For example:

HttpGet httpLogin = new HttpGet(SolrUtil.solrUrl + "/control/login?USERNAME=admin&PASSWORD=ofbiz");

In the current patch there is the userLogin hardcoded - I don't think that is a good idea for production environments - but it works.

I wont have much time within the next two month but as I want to provide it as a service to my customers I will get to it then and provide a solution.

I did not test the previous version - so I do not know if it would be better to backport. I guess Jinghai will have the answer.



Best regards,
Ingo




> Solr rebuild problem
> --------------------
>
>                 Key: OFBIZ-6715
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6715
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/solr
>    Affects Versions: Trunk
>            Reporter: Ingo Wolfmayr
>            Assignee: Shi Jinghai
>         Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, stopwords_fr.txt
>
>
> When I run service "rebuildSolrIndex" I get the following exception:
> |E| Request scheduleServiceSync caused an error with the following message: Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] target threw an unexpected exception (org/apache/http/entity/mime/content/ContentBody)
> On startup:
> |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist
> |W| Can't find (or read) directory to add to classloader: lib (resolved as: /OFBIZHOME/specialpurpose/solr/home/lib).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)