[
https://issues.apache.org/jira/browse/SOLR-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
karthik c updated SOLR-1043:
----------------------------
Attachment: common-build.xml
Looks like the libDir variable contains the value of the sharedLib attribute.
However, this variable is getting reset to the full path of the sharedLib
folder. The only place this variable is currently used is write the sharedLib
attribute back into the solr.xml file.
I have removed the line that resets this variable so that the value of
sharedLib is retained as is.
> Issue while persisting sharedLib property in multicore solr.xml
> ---------------------------------------------------------------
>
> Key: SOLR-1043
> URL: https://issues.apache.org/jira/browse/SOLR-1043
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: karthik c
> Attachments: common-build.xml
>
>
> I executed a core admin command to dynamically create a new core in Solr with
> the persist flag set to true as mentioned here:
> http://wiki.apache.org/solr/CoreAdmin#head-7ca1b98a9df8b8ca0dcfbfc49940ed5ac98c4a08.
>
> The core properties like name and instanceDir were persisted properly in the
> solr.xml. However, the relative path specified in the sharedLib attribute of
> the top level "solr" element got converted by its absolute path. This caused
> errors in loading the classes in the sharedLib when the server is
> subsequently restarted. Manually changing the sharedLib back to its relative
> path fixes this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.