top of page

Experienced Technology Product Manager adept at steering success throughout the entire product lifecycle, from conceptualization to market delivery. Proficient in market analysis, strategic planning, and effective team leadership, utilizing data-driven approaches for ongoing enhancements.

  • Twitter
  • LinkedIn
White Background

Find Java version being used inside vRO / vRA 8.x


Here's a small article to identify the Java version being used inside vRO or vRA 8.x


As a first step one has to identify container id


Let's first grep for VCO processes

docker ps | grep vco

The output of above command would be as follows


root@premvra [ ~ ]# docker ps | grep vco

cb770fa8f97d        07b9846ebc64        "/bin/bash -c './cre…"   2 weeks ago         Up 2 weeks                              k8s_vco-controlcenter-app_vco-app-54cfbdbdc-2k7wc_prelude_473e2e29-9b70-11ea-8c90-005056a77fe1_0

d572660d055c        07b9846ebc64        "/bin/bash -c './cre…"   2 weeks ago         Up 2 weeks                              k8s_vco-server-app_vco-app-54cfbdbdc-2k7wc_prelude_473e2e29-9b70-11ea-8c90-005056a77fe1_0

d59aebe8bf54        0ced08cb52f4        "dockerd-entrypoint.…"   2 weeks ago         Up 2 weeks                              k8s_vco-polyglot-runner_vco-app-54cfbdbdc-2k7wc_prelude_473e2e29-9b70-11ea-8c90-005056a77fe1_0

95fbc06fa017        vmware/pause:3.1    "/pause"                 2 weeks ago         Up 2 weeks                              k8s_POD_vco-app-54cfbdbdc-2k7wc_prelude_473e2e29-9b70-11ea-8c90-005056a77fe1_0

We need to fetch container id from the above output one we want to know the java version


Since we are interested in vco-server-app and this has an id: d572660d055c from the above

Then use the following command to find out the java version



root@premvra [ ~ ]# docker exec -it d572660d055c java -version

openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-_2019_10_29_05_18-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)

We can also check from vco-app-server logs under /var/log/container/ which will ve logged during service startup.


{"log":"2020-05-21 14:37:49.278+0000 [localhost-startStop-1] INFO  {} [O11N] Sysprop: java.runtime.name = Java(TM) SE Runtime Environment\n","stream":"stdout","time":"2020-05-21T14:37:49.278367624Z"}

{"log":"2020-05-21 14:37:49.278+0000 [localhost-startStop-1] INFO  {} [O11N] Sysprop: java.runtime.version = 1.8.0_221-b11\n","stream":"stdout","time":"2020-05-21T14:37:49.278453768Z"}





331 views0 comments

Recent Posts

See All

Commentaires

Noté 0 étoile sur 5.
Pas encore de note

Ajouter une note
bottom of page