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

Space in value of -D option in jvm.options breaks server package command #26893

Closed
jimblye opened this issue Nov 9, 2023 · 0 comments · Fixed by #26894
Closed

Space in value of -D option in jvm.options breaks server package command #26893

jimblye opened this issue Nov 9, 2023 · 0 comments · Fixed by #26894
Assignees
Labels
release bug This bug is present in a released version of Open Liberty release:230012

Comments

@jimblye
Copy link
Member

jimblye commented Nov 9, 2023

Describe the bug
If jvm.options has a -D option where the value contains a space, the server package command does not work.

Steps to Reproduce
For example if jvm.options contains:
-Dpoller.mancapadjimport.time=3:20 PM

command:
./server package myServer --include=minify --archive=/tmp/myServer.zip

Result is:
Error: Could not find or load main class PM

Expected behavior

expected output
...
Building archive for server myServer.
Server myServer package complete in /tmp/myServer.zip.

Diagnostic information:

  • OpenLiberty Version: 20.0.0.8 - 23.0.0.11
  • Affected feature(s) : server package command
  • Java Version: N/A
  • server.xml: N/A. default server is fine
@jimblye jimblye added the release bug This bug is present in a released version of Open Liberty label Nov 9, 2023
@jimblye jimblye self-assigned this Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty release:230012
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants