Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAVA_OPTIONS with arguments value containing space #148

Open
fxprunayre opened this issue Jun 28, 2023 · 1 comment
Open

JAVA_OPTIONS with arguments value containing space #148

fxprunayre opened this issue Jun 28, 2023 · 1 comment

Comments

@fxprunayre
Copy link

How are we supposed to path an argument with a space?

docker run -e JAVA_OPTIONS="-Xmx1g -Dldap.user=dada" jetty:10

2023-06-28 09:06:48.887:INFO :oejs.Server:main: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z; 
docker run -e JAVA_OPTIONS="-Xmx1g -Dldap.user=\"dadaada\"" jetty:10

2023-06-28 09:09:53.305:INFO :oejs.Server:main: jetty-10.0.15; built: 2023-04-11T17:25:14.480Z;
docker run -e JAVA_OPTIONS="-Xmx1g -Dldap.user=\"dada ada\"" jetty:10

Error: Could not find or load main class ada"
Caused by: java.lang.ClassNotFoundException: ada"
jetty dry run failed:
@lachlan-roberts
Copy link
Contributor

Looks like this could be a bug in the jetty --dry-run start option. I will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants