[
https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15023993#comment-15023993 ]
Ingo Wolfmayr commented on OFBIZ-6715:
--------------------------------------
Hi Taher,
I am trying to run the initial import via webtools-->Service Engine --> Run Service
I debugging remotely in eclipse. I am getting the null value in OfbizSolrContextFilter. As far a I can see OFBizSolrRedirectServlet.forwardUrl is not called.
It results in "To update a Solr index in OFBiz, you have to login first and have the permission to do so."
./ant build
./ant load-demo
./ant start
https://localhost:8444/catalogLogin: admin / ofbiz
rebuildSolrIndex:webtools-->Service Engine --> Run Service
--> Service [rebuildSolrIndex] target threw an unexpected exception (org/apache/http/entity/mime/content/ContentBody)
apply above patch (adding <classpath type="jar" location="webapp/solr/WEB-INF/lib"/> to specialpurpose/solr/ofbiz-component.xml)
rebuildSolrIndex:webtools-->Service Engine --> Run Service
--> To update a Solr index in OFBiz, you have to login first and have the permission to do so.
Maybe I am missing some configuration but I could not find anything.
I can login to
http://localhost:8080/solr/#/ --> solrdefault core is available
> 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
> Attachments: solr_path.patch
>
>
> 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)