Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting version triggers java.lang.NoClassDefFoundError #296

Closed
Torsph opened this issue Feb 9, 2015 · 1 comment
Closed

Setting version triggers java.lang.NoClassDefFoundError #296

Torsph opened this issue Feb 9, 2015 · 1 comment

Comments

@Torsph
Copy link

Torsph commented Feb 9, 2015

Hi!

Im using the cookbook on amazon and it was working as intended when using the default version (0.90.12)
However, when I started a new server and with the version set to 1.4.2 it gives me:

[2015-02-09 15:41:52,204][INFO ][node                     ] [juliet.localdomain] initializing ...
[2015-02-09 15:41:52,228][INFO ][plugins                  ] [juliet.localdomain] loaded [cloud-aws], sites [head]
{1.4.2}: Initialization Failed ...
- ExecutionError[java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchIllegalArgumentException]
    NoClassDefFoundError[org/elasticsearch/ElasticSearchIllegalArgumentException]
        ClassNotFoundException[org.elasticsearch.ElasticSearchIllegalArgumentException] 

I have also tried version 1.3.7, but this does also give me the problem.

Is there some options im missing?

Currently im running:

include_recipe 'apt'
include_recipe 'java'
include_recipe 'monit'
include_recipe 'runit'
include_recipe 'ohai'
include_recipe 'build-essential'

include_recipe 'nginx'

include_recipe 'elasticsearch::default'
include_recipe 'elasticsearch::aws'
include_recipe 'elasticsearch::monit'
include_recipe 'elasticsearch::proxy'

Java version is 7.

@Torsph Torsph changed the title Settings version triggers java.lang.NoClassDefFoundError Setting version triggers java.lang.NoClassDefFoundError Feb 9, 2015
@Torsph
Copy link
Author

Torsph commented Feb 9, 2015

So for everyone else that gets this problem.. Dont forget the aws cloud plugin version...

default['elasticsearch']['plugins']['elasticsearch/elasticsearch-cloud-aws']['version'] = '2.4.1'

@Torsph Torsph closed this as completed Feb 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant