NameError - cannot load Java class org.elasticsearch.client.action.search.SearchRequestBuilder (ElasticSearch 0.19.0.RC3)

Description

Logstash web is giving me the following error when built against ElasticSearch 0.19.0.RC3:

[22/Feb/2012 23:05:09] "POST /api/search?format=html HTTP/1.1" 500 175 0.3750NameError - cannot load Java class org.elasticsearch.client.action.search.SearchRequestBuilder:
org/jruby/javasupport/JavaUtilities.java:54:in `get_proxy_or_package_under_package' file:/opt/logstash/logstash-1.1.0-monolithic.jar!/builtin/javasupport/java.rb:51:in `method_missing'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/jruby-elasticsearch-0.0.11/lib/jruby-elasticsearch/searchrequest.rb:16:in `initialize' file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/jruby-elasticsearch-0.0.11/lib/jruby-elasticsearch/client.rb:106:in `search' file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/search/elasticsearch.rb:131:in `histogram'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/web/controllers/api_v1.rb:160:in `HEAD /api/histogram'
org/jruby/RubyMethod.java:117:in `call' file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `compile!' org/jruby/RubyProc.java:258:in `call' file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `route!' file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in `route_eval'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `route!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:822:in `process_route'
org/jruby/RubyKernel.java:1206:in `catch'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `process_route'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:784:in `route!'
org/jruby/RubyArray.java:1612:in `each'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `route!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
org/jruby/RubyKernel.java:1206:in `catch'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/showexceptions.rb:24:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/logger.rb:15:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:75:in `service'
org/jruby/RubyKernel.java:1206:in `catch'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:74:in `service'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:236:in `handle_exceptions'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:45:in `service'NameError: cannot load Java class org.elasticsearch.client.action.search.SearchRequestBuilder
org/jruby/javasupport/JavaUtilities.java:54:in `get_proxy_or_package_under_package'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/builtin/javasupport/java.rb:51:in `method_missing'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/jruby-elasticsearch-0.0.11/lib/jruby-elasticsearch/searchrequest.rb:16:in `initialize'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/jruby-elasticsearch-0.0.11/lib/jruby-elasticsearch/client.rb:106:in `search'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/search/elasticsearch.rb:131:in `histogram'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/logstash/web/controllers/api_v1.rb:160:in `HEAD /api/histogram'
org/jruby/RubyMethod.java:117:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `compile!'
org/jruby/RubyProc.java:258:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `route!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in `route_eval'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `route!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:822:in `process_route'
org/jruby/RubyKernel.java:1206:in `catch'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `process_route'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:784:in `route!'
org/jruby/RubyArray.java:1612:in `each'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `route!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
org/jruby/RubyKernel.java:1206:in `catch'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/showexceptions.rb:24:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/logger.rb:15:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/sinatra-1.3.2/lib/sinatra/showexceptions.rb:21:in `call'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:75:in `service'
org/jruby/RubyKernel.java:1206:in `catch'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:74:in `service'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:236:in `handle_exceptions'
file:/opt/logstash/logstash-1.1.0-monolithic.jar!/gems/mizuno-0.5.0/lib/mizuno/rack_servlet.rb:45:in `service'

Assignee

Jordan Sissel

Reporter

Steve Berryman

Labels

None

Fix versions

Affects versions

Configure