Elasticsearch Shield with custom path.plugins

After installing Elasticsearch Shield I try to run the following command:

bin/shield/esusers useradd es_admin -r admin

But I then get this error:

Error: Could not find or load main class org.elasticsearch.shield.authc.esusers.tool.ESUsersTool

Apparently it is not looking in the custom plugins folder because it is hardcoded into the .in.bat file:

set ES_CLASSPATH=%ES_CLASSPATH%;%ES_HOME%/lib/elasticsearch-1.4.0-SNAPSHOT.jar;%ES_HOME%/lib/*;%ES_HOME%/lib/sigar/*;%ES_HOME%/plugins/shield/*

How can I make this work with a custom plugins folder?

I am running version 2.3.4 of Elasticsearch and Shield on Windows Server 2012 R2.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.