I agree that it *shouldn't* be OS specific. :) Anyway, thanks for the suggestion, but that's not it. I get the same error with the script right out of the box:

Error: Could not find or load main class C:\sw\apache-solr-4.0.0\example\cloud-scripts\..\solr-webapp\webapp\WEB-INF\lib\apache-solr-solrj-4.0.0.jar

And anyway, it's a weird error, referencing a jar as a class, isn't it? Start up a JIRA?

-----  Nick

On 11/16/2012 10:42 AM, Mark Miller wrote:
I *think* I tested the script on windows once way back.

Anyway, the code itself should not be OS specific.

One thing you might want to check if you are copying unix cmd line
stuff - I think windows separates classpath entries with ; rather than
: - so you likely to need to change that. You'd think java could have
been smart enough to accept either/or at worst, but meh.

For example:
.:/Users/jeeva/dc-1/solr-cli-lib/*
should be
.;/Users/jeeva/dc-1/solr-cli-lib/*

- Mark

On Thu, Nov 15, 2012 at 8:53 PM, Nick Chase <nch...@earthlink.net> wrote:
Unfortunately, this doesn't seem to solve the issue; now I'm beginning to
wonder if maybe it's because I'm on Windows.  Has anyone successfully run
ZkCLI on Windows?

----  Nick


On 11/12/2012 2:27 AM, Jeevanandam Madanagopal wrote:

Nick - Sorry, embedded links are not shown in previous email. I'm
mentioning below.

Handy SolrCloud ZkCLI Commands
(http://www.myjeeva.com/2012/10/solrcloud-cluster-single-collection-deployment/#handy-solrcloud-cli-commands)


Uploading Solr Configuration into ZooKeeper ensemble
(http://www.myjeeva.com/2012/10/solrcloud-cluster-single-collection-deployment/#uploading-solrconfig-to-zookeeper)



Cheers,
Jeeva


On Nov 12, 2012, at 12:48 PM, Jeevanandam Madanagopal <je...@myjeeva.com>
wrote:

Nick -

I believe you're experiencing a difficulties with SolrCloud CLI commands
for interacting ZooKeeper.
Please have a look on below links, it will provide you direction.
Handy SolrCloud ZkCLI Commands
Uploading Solr Configuration into ZooKeeper ensemble

Cheers,
Jeeva

On Nov 12, 2012, at 4:45 AM, Mark Miller <markrmil...@gmail.com> wrote:

On 11/11/2012 04:47 PM, Yonik Seeley wrote:

On Sun, Nov 11, 2012 at 10:39 PM, Nick Chase <nch...@earthlink.net>
wrote:

So I'm trying to use ZkCLI without success.  I DID start and stop Solr
in
non-cloud mode, so everything is extracted and it IS finding
zookeeper*.jar.
However, now it's NOT finding SolrJ.



Reply via email to