You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Hugo IbaƱez <hg...@gmail.com> on 2024/03/22 20:52:12 UTC
Error to connect S3 Bucket with oak in server mode
Hello,
trying to connect jackrabbit-oak with s3 bucket on console mode was
successful using this command:
$ java -jar oak-run-1.60.0.jar console --read-write
C:/Users/Dell/Downloads/jackrabbit-oak-1.60.0/oak-run/target/myOak3/Oak-Segment-Tar
--s3ds=C:/Users/Dell/Downloads/jackrabbit-oak-1.60.0/oak-segment-aws/config/S3DataStore.config.properties
but also I'm trying it on server mode using the command below
$ java -jar oak-run-1.60.0.jar server http://localhost:4503 Oak-Segment-Tar
--base myOak3
--s3ds=C:/Users/Dell/Downloads/jackrabbit-oak-1.60.0/oak-segment-aws/config/S3DataStore.config.properties
unfortunately using this command I have not had any success, instead it
gives me this error:
Exception in thread "main" joptsimple.UnrecognizedOptionException: s3ds is
not a recognized option
at
joptsimple.OptionException.unrecognizedOption(OptionException.java:108)
at
joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510)
at
joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56)
at joptsimple.OptionParser.parse(OptionParser.java:396)
at
org.apache.jackrabbit.oak.run.ServerCommand.execute(ServerCommand.java:85)
at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
fyi i'm using jackrabbit-oak-1.60.0 if it helps
Could you advise?, any comment would be helpful
Thanks