At NetBackup versions 6.5.6 and 7.0.1, the display of date and times in the Java console has changed. A binary is available to allow reverting to the original format.

Article:TECH136004  |  Created: 2010-01-21  |  Updated: 2012-01-19  |  Article URL http://www.symantec.com/docs/TECH136004
Article Type
Technical Solution


Environment

Problem



At NetBackup versions 6.5.6 and 7.0.1, with implementation of code in ET1914420, the date/time format displayed in the Java Administrative console has changed from mm/dd/yyyy hh:mm:ss to Mmm dd, yyyy hh:mm:ss AM or PM.

 Example:
Original format: mm/dd/yyyy hh:mm:ss would be shown as 09/08/2010 04:00:19  
 
New format: The same date/time with the 6.5.6 and 7.0.1 release would be shown as Mmm dd, yyyy hh:mm:ss AM or PM or Sep 8, 2010 4:00:19 AM
 
The new date/time format was not one that is acceptable by all NetBackup Administrators.  A binary has been created that will allow users to specify whether to use the old or new date/time format. 
 
Further customizations of date/time formats is not currently possible due to JRE limitations.

 


Solution



The binary with the enhancement is available for 6.5.6 under ET2135271 which is posted for public download here:

http://www.symantec.com/docs/TECH143778

 

7.0.1 a fix is available by calling NetBackup Technical Support and referencing ET2138445.

 

Once the binary is received or obtained, installation instructions are as follows:

 

UNIX:

Place the nbj.conf (*) file in the /usr/openv/java directory. 

*This file may or may not exist currently in the directory as it is only supplied by support when a Java fix is required.  If the file exists, a case should be opened with NetBackup Technical Support to review any defects for which the binary was given.

In the nbj.conf, place the following line:

USE_OS_DATETIME_FORMAT=1 (or 0)

 

If set to USE_OS_DATETIME_FORMAT=1 the new format will be shown.

               

If set to USE_OS_DATETIME_FORMAT=0, the original format will be shown.

 

Windows:  

Place the nbjP.jar (*) file in the <install_path>\Java directory. 

*This file may or may not exist currently in the directory as it is only supplied by support when a Java fix is required.  If the file exists, a case should be opened with NetBackup Technical Support to review any defects for which the binary was given.

Edit the setconf.bat file adding the following lines: 

 

SET USE_OS_DATETIME_FORMAT=1 (or 0)

SET USE_OS_DATETIME_FORMAT >> "%NBJDIR%"\nbjconf

 

 

This can be put above the last two lines in the file:

SET INSTALLED_RELEASE=##0000

SET BUILDNUMBER=########

 

If SET USE_OS_DATETIME_FORMAT=1  is configured, the new format will be shown.

               

If SET USE_OS_DATETIME_FORMAT=0 is configured, the original format will be shown.

 

 

Examples of each format:

With USE_OS_DATETIME_FORMAT=0:

 

 

With USE_OS_DATETIME_FORMAT=1:

 


Supplemental Materials

SourceETrack
Value1914420
Description

Java GUI does not correctly display date format even though timezone & locale are correctly set.


SourceETrack
Value2135271
Description

(6.5.6 binary) Many customers do not like the new time format after changes implemented in ET 1914420


SourceETrack
Value2138445
Description

(7.0.1 binary) Many customers do not like the new time format after changes implemented in ET 1914420.



Legacy ID



355889


Article URL http://www.symantec.com/docs/TECH136004


Terms of use for this information are found in Legal Notices