QUESTION:
Why Are Email Notifications Sent From GMT Time Zone?
SOLUTION:
An action profile can be assigned to multiple tests and containers, and potentially received by users in different time zones. By default email notifications are designed to be sent out with date/time in same timezone as the server on which the DGE component is running. While this works as expected on Linux/Solaris, the Java Virtual Machine (JVM) is not able to properly determine the time zone setting of the server from the OS. As a result, the email notifications are sent with date/time in GMT time zone.
In order to resolve this issue on Windows, you will need to take the following steps:
Using Windows Explorer, navitate into Traverse installation directory (typically C:\Program Files\Traverse) and then into the bin directory.
Locate monitor.lax file and right-click on it using the mouse. Select Open With -> Choose Program. Select Notepad from the list and start editing.
Add the following line at the bottom of the file:
Code:
user.timezone=US/Eastern
You must enter the time zone exactly as listed under the Administration -> Preferences -> Time Zone drop-down menu on Traverse Web Application.
Save the file and restart the DGE
All subsequent email notifications from this DGE should be sent with date/time in the specified time zone. Note that these steps will need to be repeated every time a new version of Traverse is installed on the DGE.
To change the email notification time zone in a Linux installation (e.g. /opt/traverse), in the file /opt/traverse/etc/monitor.init, find the line similar to 'CONFIG="${CONFIG} -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseSplitVerifier' then add the following line below it:
CONFIG="${CONFIG} -Duser.timezone=Europe/Amsterdam"
Again, the time zone specified must be chosen from among those listed under 'Administration -> Preferences -> Time Zone' in the Traverse Web Application.
The above timezone setting takes Daylight Savings (DST) into account.