Bug 1471893
Summary: | [RFE] Tomcat exact version in label for jboss-webserver-3/webserver31-tomcat7-openshift image | ||
---|---|---|---|
Product: | [JBoss] JBoss Enterprise Web Server 2 | Reporter: | Vladislav Walek <vwalek> |
Component: | tomcat7 | Assignee: | Coty Sutherland <csutherl> |
Status: | CLOSED WONTFIX | QA Contact: | Michal Karm Babacek <mbabacek> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.0.0 | CC: | aos-bugs, jdoyle, jokerman, mmccomas, pslavice, pweil, rsvoboda, sspeiche |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-30 15:31:51 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vladislav Walek
2017-07-17 15:26:41 UTC
The information is present in the images through their environment variables, it should be possible to query this from the command line. For examples: docker inspect registry.access.redhat.com/jboss-webserver-3/webserver31-tomcat7-openshift | egrep 'PRODUCT_VERSION|JBOSS_WEBSERVER_VERSION' would result in "JBOSS_WEBSERVER_VERSION=3.1.0", "PRODUCT_VERSION=3.1.0", "JBOSS_WEBSERVER_VERSION=3.1.0", "PRODUCT_VERSION=3.1.0", P.S. All the xPaaS images should contain PRODUCT_VERSION but the other variable will differ depending on the product, e.g. the eap variable would be JBOSS_EAP_VERSION. Apologies, I've just realised you were asking about the Tomcat version, not the actual product version. I'll see what can be done about this. While we look into this issue you could advise them to do the following as a workaround. docker run -it --rm registry.access.redhat.com/jboss-webserver-3/webserver31-tomcat7-openshift java -cp /opt/webserver/lib/catalina.jar org.apache.catalina.util.ServerInfo This will display output similar to the following Server version: Apache Tomcat/7.0.70 Server built: Jan 12 2017 14:59:11 UTC Server number: 7.0.70-16.ep7.el7.0 OS Name: Linux OS Version: 3.10.0-514.26.2.el7.x86_64 Architecture: amd64 JVM Version: 1.8.0_131-b12 JVM Vendor: Oracle Corporation While we look into this issue you could advise them to do the following as a workaround. docker run -it --rm registry.access.redhat.com/jboss-webserver-3/webserver31-tomcat7-openshift java -cp /opt/webserver/lib/catalina.jar org.apache.catalina.util.ServerInfo This will display output similar to the following Server version: Apache Tomcat/7.0.70 Server built: Jan 12 2017 14:59:11 UTC Server number: 7.0.70-16.ep7.el7.0 OS Name: Linux OS Version: 3.10.0-514.26.2.el7.x86_64 Architecture: amd64 JVM Version: 1.8.0_131-b12 JVM Vendor: Oracle Corporation Reassigning to JWS/tomcat team |