Test run or other metric data is missing from the database
DevTest components running in Docker containers utilising an Oracle database
The Oracle JDBC driver requires that the timezone definition of the host machine be available to the calling process. Unfortunately this information is not supplied to processes running as Docker containers, and the oracle JDBC driver silently fails.
It is possible to re-create the DevTest Docker images so that the required information is embedded within.
- Ascertain your timezone as an offset from UTC (previously GMT). This should be recorded in the format
HH:MM - where
01:00 would be correct for Central European Time, 05:30 for Indian Standard Time etc.
- For each component, add the following, on a line of its own, to the relevant vmoptions file
(for instance, -
Duser.timezone="01:00" for CET and
-Duser.timezone="05:30" for IST, as above).
- Include this file by adding a line similar to
to the dockerfile you use to create your images. Whilst the Simulator has been used as an example in this instance, this should be repeated for each DevTest component. The ADD command may need to be altered to reflect your environment.
ADD Simulator.vmoptions /opt/devtest/bin/