I downloaded the logstash-codec-leef plugin from github and successfully ran 'build install' using jruby. All rspec tests succeed.
When I try to install this plugin using 'sudo logstash-plugin install' I get the following error:
Using bundled JDK: /usr/share/logstash/jdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
RuntimeError:
you might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command
no such file to load -- com/fasterxml/jackson/core/jackson-core/2.9.10/jackson-core-2.9.10 (LoadError)
do_require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:356
require_jar at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:265
require_jar_with_block at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:307
require_jar at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:264
require_jar at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:363
require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jars/classpath.rb:63
process at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jars/lock.rb:67
each_line at org/jruby/RubyString.java:5718
process at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jars/lock.rb:53
process at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jars/classpath.rb:83
require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jars/classpath.rb:59
require_jars_lock! at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:207
each at org/jruby/RubyArray.java:1820
require_jars_lock! at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:203
require_jars_lock at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:246
require_jar at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:257
require_jar at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jar_dependencies.rb:363
<main> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/jopenssl/load.rb:14
require at org/jruby/RubyKernel.java:974
require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:83
<main> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/openssl.rb:1
require at org/jruby/RubyKernel.java:974
require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:83
<main> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/security.rb:12
require at org/jruby/RubyKernel.java:974
require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:83
<main> at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/package.rb:44
require at org/jruby/RubyKernel.java:974
require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:83
<main> at /usr/share/logstash/lib/pluginmanager/util.rb:18
require at org/jruby/RubyKernel.java:974
require at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:83
<main> at /usr/share/logstash/lib/pluginmanager/main.rb:31
When I run lock_jars, I get:
can not interpolated proxy info for /home/p30084/.m2/settings.xml
-- jar root dependencies --
[DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env` (called at /usr/local/jruby/lib/ruby/gems/shared/gems/ruby-maven-3.3.12/lib/ruby_maven.rb:38)
unsupported Java version "11", defaulting to 1.7
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.util.io.FilenoUtil (file:/home/p30084/.m2/repository/org/jruby/jruby-core/9.1.2.0/jruby-core-9.1.2.0.jar) to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of org.jruby.util.io.FilenoUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
sh: line 0: cd: uri:classloader:/: No such file or directory
org.yaml:snakeyaml:1.26:compile
com.fasterxml.jackson.core:jackson-core:2.9.10:compile
com.fasterxml.jackson.core:jackson-annotations:2.9.10:compile
com.fasterxml.jackson.core:jackson-databind:2.9.10.8:compile
com.fasterxml.jackson.module:jackson-module-afterburner:2.9.10:compile
org.bouncycastle:bcpkix-jdk15on:1.55:compile
org.bouncycastle:bcprov-jdk15on:1.55:compile
org.apache.httpcomponents:httpclient:[4.5.0,4.5.99999]:compile
org.apache.httpcomponents:httpmime:[4.5.0,4.5.99999]:compile
commons-logging:commons-logging:[1.2,1.99999]:compile
commons-codec:commons-codec:[1.9,1.99999]:compile
org.apache.httpcomponents:httpcore:[4.4.4,4.4.99999]:compile
org.apache.logging.log4j:log4j-slf4j-impl:2.6.2:compile
org.apache.logging.log4j:log4j-api:2.6.2:compile
org.apache.logging.log4j:log4j-core:2.6.2:compile
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.9.1:compile
Jars.lock is up to date
I'm out of my league, can somebody please help?