Hello.
I am trying to install ROR 1.64.0 on a clean ES9.0.1 setup on a Windows 11 pro operating system.
Pluging install (with elasticsearch-plugin command) is ok.
When trying to apply the patch there is an error :
PS C:\Temp\es9\elasticsearch-9.0.1> jdk/bin/java -jar plugins/readonlyrest/ror-tools.jar patch --I_UNDERSTAND_AND_ACCEPT_ES_PATCHING=yes
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by tech.beshu.ror.tools.scala.runtime.LazyVals$ (file:/C:/Temp/es9/elasticsearch-9.0.1/plugins/readonlyrest/ror-tools.jar)
WARNING: Please consider reporting this to the maintainers of class tech.beshu.ror.tools.scala.runtime.LazyVals$
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
Checking if Elasticsearch is patched ...
Creating backup ...
Patching ...
java.lang.IllegalStateException: Could not add ROR version to jar file elasticsearch-9.0.1.jar
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.internal.filePatchers.JarManifestModifier$.addPatchedByRorVersionProperty$$anonfun$3(JarManifestModifier.scala:41)
at tech.beshu.ror.tools.scala.util.Failure.getOrElse(Try.scala:219)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.internal.filePatchers.JarManifestModifier$.addPatchedByRorVersionProperty(JarManifestModifier.scala:41)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.internal.FileModifiersBasedPatch$.addPatchedByRorVersionPropertyToJarManifest(FilePatch.scala:72)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.internal.FileModifiersBasedPatch.patch(FilePatch.scala:57)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.internal.MultiFilePatch.patch$$anonfun$2(FilePatch.scala:85)
at tech.beshu.ror.tools.scala.collection.immutable.List.flatMap(List.scala:293)
at tech.beshu.ror.tools.scala.collection.immutable.List.flatMap(List.scala:79)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.internal.MultiFilePatch.patch(FilePatch.scala:85)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.base.SimpleEsPatch.performPatching(SimpleEsPatch.scala:43)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.base.EsPatchExecutor.doPatch$$anonfun$1(EsPatchExecutor.scala:76)
at tech.beshu.ror.tools.scala.util.Try$.apply(Try.scala:210)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.base.EsPatchExecutor.doPatch(EsPatchExecutor.scala:76)
at tech.beshu.ror.tools.tech.beshu.ror.tools.core.patches.base.EsPatchExecutor.patch(EsPatchExecutor.scala:39)
at tech.beshu.ror.tools.RorTools$PatchCommandHandler.performPatching(RorToolsApp.scala:113)
at tech.beshu.ror.tools.RorTools$PatchCommandHandler.handle(RorToolsApp.scala:99)
at tech.beshu.ror.tools.RorTools.handleParsedArguments$$anonfun$1(RorToolsApp.scala:75)
at tech.beshu.ror.tools.scala.util.Try$.apply(Try.scala:210)
at tech.beshu.ror.tools.RorTools.handleParsedArguments(RorToolsApp.scala:81)
at tech.beshu.ror.tools.RorTools.run(RorToolsApp.scala:65)
at tech.beshu.ror.tools.RorTools.run$(RorToolsApp.scala:50)
at tech.beshu.ror.tools.RorToolsApp$.run(RorToolsApp.scala:28)
at tech.beshu.ror.tools.RorToolsApp$.main(RorToolsApp.scala:34)
at tech.beshu.ror.tools.RorToolsApp.main(RorToolsApp.scala)
UNEXPECTED ERROR: Could not add ROR version to jar file elasticsearch-9.0.1.jar
()
Any idea how to fix the problem ?
Regards
Stephen