lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-4192) There is an odd classpath gotchya with ZkCli scripts.
Date Fri, 14 Dec 2012 21:58:13 GMT


Mark Miller commented on SOLR-4192:

Ah - thank you! I'm going to update the wiki with some examples.
> There is an odd classpath gotchya with ZkCli scripts.
> -----------------------------------------------------
>                 Key: SOLR-4192
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 4.1, 5.0
> I saw this many months ago while working with a customer, but forgot to investigate further.
> When using a classpath that just points to the webapp libs, you seem to get an error
about not being able to find one of the jars in that folder. If you also specifically include
the one solrj jar it complains about, everything works. WTF?
> Does not work:
> {code}java -classpath example/solr-webapp/webapp/WEB-INF/lib/*
-cmd bootstrap -zkhost -solrhome example/solr -runzk 8983{code}
> Works
> {code}java -classpath example/solr-webapp/webapp/WEB-INF/lib/*:example/solr-webapp/webapp/WEB-INF/lib/apache-solr-solrj-5.0-SNAPSHOT.jar -cmd bootstrap -zkhost -solrhome example/solr -runzk
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message