Hi,
I try to package a logstash plugin for offlline deployment.
I use openjdk 10 2018-03-20 build 10+44 and logstash 6.8.3 that contains jruby jruby 9.2.7.0 (2.5.3) .
I use the follonwing commands :
-
logstash-plugin prepare-offline-pack --output plugin_jmx.zip --overwrite logstash-input-jmx
-
logstash-plugin prepare-offline-pack --add-opens java.base/sun.nio.ch=org.jruby.core --output plugin_jmx.zip --overwrite logstash-input-jmx
-
logstash-plugin prepare-offline-pack --add-opens java.base/sun.nio.ch=org.jruby.core --output plugin_jmx.zip --overwrite logstash-input-jmx
I always get the same error :
"2020-04-21T22:49:49.110+02:00 [main] WARN FilenoUtil : Native subprocess control requires open access to sun.nio.ch
Pass '--add-opens java.base/sun.nio.ch=org.jruby.dist' or '=org.jruby.core' to enable. ****"
How to solve a such issue ?
B. Granier