You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2013/10/03 08:42:41 UTC

[jira] [Resolved] (STANBOL-908) ManagedSolrServer does not use system specific file separators when initialising SolrCores

     [ https://issues.apache.org/jira/browse/STANBOL-908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rupert Westenthaler resolved STANBOL-908.
-----------------------------------------

    Resolution: Fixed

forgot to mark as resolved: was resolved on 19/Apr/13 http://svn.apache.org/r1442527


> ManagedSolrServer does not use system specific file separators when initialising SolrCores
> ------------------------------------------------------------------------------------------
>
>                 Key: STANBOL-908
>                 URL: https://issues.apache.org/jira/browse/STANBOL-908
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Commons
>    Affects Versions: commons-0.11.0
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>
> During the copying process of a provided SolrCore (in an {name}.solrindex.zip file) a '/' is used to search for the context used to determine the target folder for files provided by the ArchiveInputStream.
> Because of that copying fails in case the archive does not use forward slashes as path separators of Archive entries. Users affected by this will encounter a
> java.lang.IllegalArgumentException: The parsed File '<..root..>\stanbol\indexes\default\<..sitename..>-2013.02.02' MUST represent a Directory!
>     at org.apache.stanbol.commons.solr.SolrServerAdapter$SolrCoreProperties.setCoreDir(SolrServerAdapter.java:856)
> during the initialisation of the SolrCore. In addition the log will contain WARN level loggings like
> 03.02.2013 20:50:44.625 *INFO* [Thread-40] org.apache.stanbol.commons.solr.managed.impl.ManagedSolrServerImpl  ... start to ACTIVATE Index <sitename> on ManagedSolrServer
> 03.02.2013 20:50:44.627 *WARN* [Thread-40] org.apache.stanbol.commons.solr.utils.ConfigUtils Context <sitename>/ not found in resource <sitename>\conf\admin-extra.html -> ignored!
> 03.02.2013 20:50:44.627 *WARN* [Thread-40] org.apache.stanbol.commons.solr.utils.ConfigUtils Context <sitename>/ not found in resource <sitename>\conf\elevate.xml -> ignored!
> To solve this issue paths of archive entries need to be converted to always use system specific separators.



--
This message was sent by Atlassian JIRA
(v6.1#6144)