Hi, i get this error while installing shield 2.4.0
Caused by: org.elasticsearch.common.inject.CreationException: Guice creation errors:
- No implementation for org.elasticsearch.license.plugin.core.LicenseeRegistry was bound.
while locating org.elasticsearch.license.plugin.core.LicenseeRegistry
for parameter 1 at org.elasticsearch.shield.license.ShieldLicensee.(Unknown Source)
I have installed license-2.4.0.zip and shield 2.4.0.zip and i have Elastic Search version 2.4.0.
Any help is appreciated
It's not immediately obvious what has gone wrong with your install.
It looks like the best course of action would be to start the install again from the beginning.
Try and record (copy-n-paste from your terminal) the steps that you take, so that if this problem reoccurs we have a bit more to go on to try and work out what caused it.
I tried the steps again which i am describing below. WE have an application where in we embed the elastic search into our application which means es is not installed as a service, rather a service integrated into our application
i have added all the jars Shield, automaton and unbound jars that comes with Shield 2.4.0 and also the licensing related jars (license,license-core and license plugin-api) into the classpath of our application. Looking at the exception, and the decompiled code,the below snippet from the LicenseModule class should be related to the exception, i see licenseeRegistry is bounded to licenseService when it is not a tribe node. I am quite sure that i havent started my node as a tribe node.
What else could be the problems ? why licenseeRegistry could not find any bindings. In the worst case(i.e.. when node is a tribe node, licenseeRegistry has a no-opbinding defined )
Shield requires Elasticsearch to be running as a standalone server and does not support embedded mode.
Thanks for the response,
Any specific reason for Shield not supporting ES in embedded mode ? Is that because of the licensing jars or other technical difficulties ? I am curious to find out, because i could get SearchGuard/SSL working with ES installed in embedded mode.
Please see this blog post for all of the details of why we cannot support the embedding of elasticsearch and shield. https://www.elastic.co/blog/elasticsearch-the-server
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.