Stream: containers

Topic: JVM_ARGS with spaces cause container not to start


view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 21 2026 at 20:57):

Reported here: #12731

Any ideas?

view this post on Zulip Oliver Bertuch (Sep 24 2026 at 19:28):

Plenty.

view this post on Zulip Oliver Bertuch (Sep 24 2026 at 19:28):

Should I respond here or there?

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 24 2026 at 19:32):

Buh, there, please! I don't think rpoet-jh is here in Zulip.

view this post on Zulip Oliver Bertuch (Sep 24 2026 at 19:40):

Done.

view this post on Zulip Oliver Bertuch (Sep 24 2026 at 19:41):

For those reading or searching around here, this was the original question:

Start gdcc/dataverse with JVM_ARGS containing a system property that has a space in the value.

For example:

-Ddataverse.pid.providers=fake -Ddataverse.pid.default-provider=fake -Ddataverse.pid.fake.type=FAKE -Ddataverse.pid.fake.label="Fake DOI Provider"
* When does this issue occur?

When using the docker container gdcc/dataverse, if JVM_ARGS contains system properties that have spaces, the container fails to start. I suspect it is the way JVM_ARGS is being interpolated in one of the startup scripts in the gdcc/dataverse container.

Here's my answer:

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 24 2026 at 19:45):

Hmm, in #12713 I'm still using JVM args, like this:

-Ddataverse.pid.dc1.type=datacite
-Ddataverse.pid.dc1.label=DataCite

I was careful not to add a space in the label!

So we should switch our PID config in our compose files from JVM args to MPConfig, right?

These:

view this post on Zulip Oliver Bertuch (Sep 24 2026 at 21:58):

Yes, absolutely switch them.

view this post on Zulip Oliver Bertuch (Sep 24 2026 at 21:58):

It might be easier at some point to just use a TOML file.

view this post on Zulip Oliver Bertuch (Sep 24 2026 at 21:59):

If someone has any funding left, happy to do an overhaul of the storage subsystem. Make it use MPCONFIG and cleanup tech debt. That is one of the last things we cannot use MPCONFIG with unfortunately.

view this post on Zulip Philip Durbin ๐Ÿš€ (Sep 25 2026 at 15:24):

Apart from the PID label, is there any other JVM arg that might want a space? :thinking:


Last updated: Oct 02 2026 at 18:51 UTC