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

The server start command resolves symbolic links incorrectly on z/OS 3.1 #27778

Closed
jimblye opened this issue Feb 28, 2024 · 0 comments · Fixed by #27921
Closed

The server start command resolves symbolic links incorrectly on z/OS 3.1 #27778

jimblye opened this issue Feb 28, 2024 · 0 comments · Fixed by #27921
Assignees
Labels
release bug This bug is present in a released version of Open Liberty release:24004

Comments

@jimblye
Copy link
Member

jimblye commented Feb 28, 2024

The server start command calculates the location of the Liberty installation directly and resolves any symbolic links that might occur in that path. The implementation first tries the "realpath" command, then the "readlink -e" command and finally if neither of those implementations are supported it uses it's own implementation for resolving symbolic links.
z/OS has not supported either of the realpath or readlink commands until z/OS 3.1. Unfortunately, the z/OS implementation of readlink has a bug. So we need to avoid calling readlink on z/OS. We should probably avoid calling realpath as well, in case they suddenly add an implementation of that.

If there is a stack trace, please include the FULL stack trace (without any [internal classes] lines in it). To find the full stack trace, you may need to check in $WLP_OUTPUT_DIR/messages.log

Steps to Reproduce
Steps to reproduce the bug

Expected behavior
A clear and concise description of what you expected to happen.

Diagnostic information:

  • OpenLiberty Version: [e.g. 21.0.0.8 - 21.0.0.10]
  • Affected feature(s) [e.g. mpHealth-3.0]
  • Java Version: [i.e. full output of java -version]
  • server.xml configuration (WITHOUT sensitive information like passwords)
  • If it would be useful, upload the messages.log file found in $WLP_OUTPUT_DIR/messages.log

Additional context
Add any other context about the problem here.

@jimblye jimblye added the release bug This bug is present in a released version of Open Liberty label Feb 28, 2024
@jimblye jimblye self-assigned this Feb 28, 2024
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:24004
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants