-
|
Hi there. I'm currently working on a fresh project and after a good bit of deliberation decided XTDB what I would like to use and with v2 being about ready it was my choice. The goal use the standalone jar to stand up a node with my configuration file to define storage and log paths. However, I can't get this to run with any configuration, much less how I would like to configure it. I can compile things fine on openjdk 21 and clojure 1.12. The jar will run as long as I don't try and pass a configuration to it. I've tried it as both yaml and edn. Tried it with more and with less. It always says the configuration is invalid. For instance this fails This also fails And this one too It's always this error...the stacktrace is there after adding a logback but it still fails validation without adding the logback config. This is the command I'm running at the moment...which always exits with code 2. Is there anything obvious I am doing wrong here? Any pointers on how to troubleshoot it? I used a linter to doublecheck my yaml for any gotchas but I am genuinely stuck. Edit: I have the v2.0.0 tag checked out when building it but had v2.0.0-beta9.1 before that with the same issue. Main as well so presumably this is a me issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Ok, so I was just trying one last minute thing and I notice if I change the run command to use |
Beta Was this translation helpful? Give feedback.
Hi there 👋 - thanks for raising this! We’ve created the following issue to track it: #4540
In your original post, the filename was
xtdb.config.yaml. This is what is currently causing the problem - the CLI’s validation logic treats.config.yamlas the file extension, rather than recognizing it as a.yamlfile.Renaming the file to something like
xtdbconfig.yamlshould allow the command to work correctly for now.