Version: jboss-webserver-5/jws57-openjdk11-openshift-rhel8:5.7.6-4
Issue:
Due to some problem during container build, there appears to be set alternative to java tools that was only available up to JDK8, even though it is a JDK11-based image. Also, alternative for jcmd is broken.
Steps to reproduce:
# Actual podman pull registry.redhat.io/jboss-webserver-5/jws57-openjdk11-openshift-rhel8:5.7.6-4 podman run -it --name jws-latest --rm -it registry.redhat.io/jboss-webserver-5/jws57-openjdk11-openshift-rhel8:5.7.6-4 /bin/bash # I'm not sure why, but there is a mix of alternative for java8, as orbd, policytool whish are removed from OpenJDK11 [jboss@afebbdcc00ef ~]$ alternatives --display java | grep null slave orbd: (null) slave policytool: (null) slave servertool: (null) slave tnameserv: (null) slave orbd.1.gz: (null) slave policytool.1.gz: (null) slave servertool.1.gz: (null) slave tnameserv.1.gz: (null) # jcmd is not found in alternative [jboss@afebbdcc00ef ~]$ jcmd bash: jcmd: command not found [jboss@afebbdcc00ef ~]$ ls -lh /etc/alternatives | grep jcmd [jboss@afebbdcc00ef ~]$ # expected: null is not shown alternatives --display java | grep null
- is incorporated by
-
JWS-3154 Upgrade maven to 3.6
- Closed
- links to
-
RHBA-2023:124162 Update JBoss Web Server 5.7 for OpenShift images with 5.7.7