Hello,
I am trying to start an enterprise-search at an existing elasticsearch cluster
while starting the enterprise-search i get the below error
> [root@elasticlogs bin]# ./enterprise-search
> Found java executable in PATH
> Java version: 1.8.0_242
>
> Starting the following Elastic Enterprise Search stack components:
> - An application server, as well as background worker threads
> - A pool of connectors
> - A filebeat instance for indexing logs
>
> forego | starting app-server.1 on port 5000
> forego | starting filebeat.1 on port 5100
> forego | starting connectors.1 on port 5300
> filebeat.1 | scripting container class loader urls: [file:/tmp/jruby2484594959289077476extract/lib/jruby-stdlib-9.2.9.0.jar, file:/tmp/jruby2484594959289077476extract/lib/jruby-rack-1.1.21.jar, file:/tmp/jruby2484594959289077476extract/lib/jruby-core-9.2.9.0-complete.jar, file:/tmp/jruby2484594959289077476extract/lib/jruby-rack-worker_0.14.1.jar]
> connectors.1 | scripting container class loader urls: [file:/tmp/jruby1939297861825022508extract/lib/jruby-stdlib-9.2.9.0.jar, file:/tmp/jruby1939297861825022508extract/lib/jruby-rack-1.1.21.jar, file:/tmp/jruby1939297861825022508extract/lib/jruby-core-9.2.9.0-complete.jar, file:/tmp/jruby1939297861825022508extract/lib/jruby-rack-worker_0.14.1.jar]
> app-server.1 | scripting container class loader urls: [file:/tmp/jruby7107592493328148448extract/lib/jruby-stdlib-9.2.9.0.jar, file:/tmp/jruby7107592493328148448extract/lib/jruby-rack-1.1.21.jar, file:/tmp/jruby7107592493328148448extract/lib/jruby-core-9.2.9.0-complete.jar, file:/tmp/jruby7107592493328148448extract/lib/jruby-rack-worker_0.14.1.jar]
> filebeat.1 | setting GEM_HOME to /tmp/jruby2484594959289077476extract/gems
> filebeat.1 | ... and BUNDLE_GEMFILE to /tmp/jruby2484594959289077476extract/Gemfile
> filebeat.1 | loading resource: /tmp/jruby2484594959289077476extract/./META-INF/rails.rb
> filebeat.1 | invoking /tmp/jruby2484594959289077476extract/./META-INF/rails.rb with: [runner, FritoTogo.start_filebeat!]
> app-server.1 | setting GEM_HOME to /tmp/jruby7107592493328148448extract/gems
> app-server.1 | ... and BUNDLE_GEMFILE to /tmp/jruby7107592493328148448extract/Gemfile
> connectors.1 | setting GEM_HOME to /tmp/jruby1939297861825022508extract/gems
> connectors.1 | ... and BUNDLE_GEMFILE to /tmp/jruby1939297861825022508extract/Gemfile
> app-server.1 | loading resource: /tmp/jruby7107592493328148448extract/./META-INF/rails.rb
> app-server.1 | invoking /tmp/jruby7107592493328148448extract/./META-INF/rails.rb with: [runner, FritoTogo.start_app_server!]
> connectors.1 | loading resource: /tmp/jruby1939297861825022508extract/./META-INF/rails.rb
> connectors.1 | invoking /tmp/jruby1939297861825022508extract/./META-INF/rails.rb with: [runner, Connectors.start!]
> filebeat.1 | [2020-02-14T09:35:39.889+00:00][19972][2002][filebeat][ERROR]:
> filebeat.1 | --------------------------------------------------------------------------------
> filebeat.1 |
> filebeat.1 | Elastic Enterprise Search requires Elasticsearch security features to be enabled.
> filebeat.1 | Please enable Elasticsearch security features as outlined here:
> filebeat.1 | https://swiftype.com/documentation/enterprise-search/installation
> filebeat.1 |
> filebeat.1 | --------------------------------------------------------------------------------
> filebeat.1 |
> filebeat.1 |
> filebeat.1 | ERROR: org.jruby.exceptions.SystemExit: (SystemExit) exit
> filebeat.1 | org.jruby.exceptions.SystemExit: (SystemExit) exit
> filebeat.1 | at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:751)
> filebeat.1 | at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:714)
> filebeat.1 | at RUBY.fatal_error(/tmp/jruby2484594959289077476extract/shared_togo/lib/shared_togo.class:738)
> filebeat.1 | at RUBY.check_elasticsearch_features!(/tmp/jruby2484594959289077476extract/frito_togo/lib/frito_togo.class:87)
> filebeat.1 | at RUBY.configure!(/tmp/jruby2484594959289077476extract/shared_togo/lib/shared_togo.class:168)
> filebeat.1 | at RUBY.configure!(/tmp/jruby2484594959289077476extract/shared_togo/lib/shared_togo.class:32)
> filebeat.1 | at RUBY.<main>(/tmp/jruby2484594959289077476extract/config/application.class:24)
> filebeat.1 | at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1013)
> filebeat.1 | at RUBY.<main>(/tmp/jruby2484594959289077476extract/config/application.rb:1)
> filebeat.1 | at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
> filebeat.1 | at RUBY.<main>(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/runner.rb:51)
> filebeat.1 | at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
> filebeat.1 | at RUBY.require_command!(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:123)
> filebeat.1 | at RUBY.runner(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:90)
> filebeat.1 | at RUBY.run_command!(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39)
> filebeat.1 | at RUBY.<main>(/tmp/jruby2484594959289077476extract/gems/gems/railties-4.2.11.1/lib/rails/commands.rb:17)
> filebeat.1 | at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
> filebeat.1 | at RUBY.<main>(/tmp/jruby2484594959289077476extract/./META-INF/rails.rb:7)
> forego | sending SIGTERM to app-server.1
> forego | sending SIGTERM to connectors.1
> app-server.1 | ERROR: java.lang.reflect.InvocationTargetException
> app-server.1 | java.lang.NoClassDefFoundError: org/jruby/runtime/load/JarredScript
> app-server.1 | at org.jruby.runtime.load.LoadService.isJarfileLibrary(LoadService.java:653)
> app-server.1 | at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:907)
> app-server.1 | at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:535)
> app-server.1 | at org.jruby.runtime.load.LoadService.require(LoadService.java:402)
> app-server.1 | at org.jruby.RubyKernel.requireCommon(RubyKernel.java:985)
> app-server.1 | at org.jruby.RubyKernel.require(RubyKernel.java:978)
> app-server.1 | at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen)
> app-server.1 | at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:417)
> app-server.1 | at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:95)
> app-server.1 | at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:375)
> app-server.1 | at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:174)
> app-server.1 | at tmp.jruby7107592493328148448extract.$_dot_.META_minus_INF.rails.invokeOther8:require(/tmp/jruby7107592493328148448extract/./META-INF/rails.rb:7)
> app-server.1 | at tmp.jruby7107592493328148448extract.$_dot_.META_minus_INF.rails.RUBY$script(/tmp/jruby7107592493328148448extract/./META-INF/rails.rb:7)
> app-server.1 | at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
> app-server.1 | at org.jruby.ir.Compiler$1.load(Compiler.java:89)
> app-server.1 | at org.jruby.Ruby.runScript(Ruby.java:857)
> app-server.1 | at org.jruby.Ruby.runNormally(Ruby.java:780)
> app-server.1 | at org.jruby.Ruby.runNormally(Ruby.java:798)
> app-server.1 | at org.jruby.Ruby.runFromMain(Ruby.java:610)
> app-server.1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> app-server.1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> app-server.1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> app-server.1 | at java.lang.reflect.Method.invoke(Method.java:498)
> app-server.1 | at JarMain.invokeMethod(JarMain.java:263)
> app-server.1 | at WarMain.launchJRuby(WarMain.java:263)
> app-server.1 | at JarMain.start(JarMain.java:158)
> app-server.1 | at WarMain.start(WarMain.java:357)
> app-server.1 | at JarMain.doStart(JarMain.java:233)
> app-server.1 | at WarMain.main(WarMain.java:367)
> connectors.1 | ERROR: java.lang.reflect.InvocationTargetException
> connectors.1 | java.lang.NoClassDefFoundError: org/jruby/runtime/load/JarredScript
> connectors.1 | at org.jruby.runtime.load.LoadService.isJarfileLibrary(LoadService.java:653)
> connectors.1 | at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:907)
> connectors.1 | at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:535)
> connectors.1 | at org.jruby.runtime.load.LoadService.require(LoadService.java:402)
> connectors.1 | at org.jruby.RubyKernel.requireCommon(RubyKernel.java:985)
> connectors.1 | at org.jruby.RubyKernel.require(RubyKernel.java:978)
> connectors.1 | at org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen)
> connectors.1 | at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:417)
> connectors.1 | at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:95)
> connectors.1 | at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:375)
> connectors.1 | at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:174)
> connectors.1 | at tmp.jruby1939297861825022508extract.$_dot_.META_minus_INF.rails.invokeOther8:require(/tmp/jruby1939297861825022508extract/./META-INF/rails.rb:7)
> connectors.1 | at tmp.jruby1939297861825022508extract.$_dot_.META_minus_INF.rails.RUBY$script(/tmp/jruby1939297861825022508extract/./META-INF/rails.rb:7)
> connectors.1 | at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
> connectors.1 | at org.jruby.ir.Compiler$1.load(Compiler.java:89)
> connectors.1 | at org.jruby.Ruby.runScript(Ruby.java:857)
> connectors.1 | at org.jruby.Ruby.runNormally(Ruby.java:780)
> connectors.1 | at org.jruby.Ruby.runNormally(Ruby.java:798)
> connectors.1 | at org.jruby.Ruby.runFromMain(Ruby.java:610)
> connectors.1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> connectors.1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> connectors.1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> connectors.1 | at java.lang.reflect.Method.invoke(Method.java:498)
> connectors.1 | at JarMain.invokeMethod(JarMain.java:263)
> connectors.1 | at WarMain.launchJRuby(WarMain.java:263)
> connectors.1 | at JarMain.start(JarMain.java:158)
> connectors.1 | at WarMain.start(WarMain.java:357)
> connectors.1 | at JarMain.doStart(JarMain.java:233)
> connectors.1 | at WarMain.main(WarMain.java:367)