You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2015/01/22 18:18:35 UTC

[jira] [Resolved] (SOLR-7013) Unclear error message with solr script when lacking jar executable

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

Erik Hatcher resolved SOLR-7013.
--------------------------------
       Resolution: Fixed
    Fix Version/s: Trunk

Thanks Derek!   Committed to trunk and 5x. 

Tim Potter pointed out that zkcli.sh has a similar issue (but it uses unzip, not jar).  If you feel this needs a similar treatment, please file a new ticket for that.

> Unclear error message with solr script when lacking jar executable
> ------------------------------------------------------------------
>
>                 Key: SOLR-7013
>                 URL: https://issues.apache.org/jira/browse/SOLR-7013
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 4.10.3
>         Environment: Fedora 21
>            Reporter: Derek Wood
>            Assignee: Erik Hatcher
>            Priority: Blocker
>             Fix For: 5.0, Trunk
>
>         Attachments: solr.patch
>
>
> Fedora 21 doesn't ship the "jar" executable with the default jdk package, so the attempt to extract "webapp/solr.war" in the solr script can fail without a clear error message. The attached patch adds this error message and includes support for the unzip utility.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org