Forum Discussion

Genericus's avatar
Genericus
Moderator
8 years ago

date format in java admin console 8.0

Just upgraded to 8.0 and installed the java admin console.

The dates are written out, instead of 05/30/2017 09:00:00 I get May 30, 2017 09:00:00 AM which makes the columns too wide. 

 

I remember a change to the setconf.bat "USE_OS_DATETIME_FORMAT=0" but that did not work

 

Any thoughts?

  • Genericus's avatar
    Genericus
    8 years ago

    Thanks, I checked that, no joy.

    Looks like you still need the nbjP.jar ( I was able to recover one from a backup BEFORE we uninstalled 7.6.1.2)

    https://www.veritas.com/support/en_US/article.TECH136004 \

    For Windows systems:

    1. Place the nbjP.jar (see note below) file in the <install_path>\Java directory. 

    Note: 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.

    1. Edit the setconf.bat file adding the following lines: 

    SET USE_OS_DATETIME_FORMAT=1 (or 0)

    SET USE_OS_DATETIME_FORMAT >> "%NBJDIR%"\nbjconf
    • If SET USE_OS_DATETIME_FORMAT=1, the new format will be shown.
    • If SET USE_OS_DATETIME_FORMAT=0, the original format will be shown.

     

    SO BEFORE YOU UPGRADE - MAKE COPIES of the nbjP.jar and setconf.bat - they get replaced

    • Genericus's avatar
      Genericus
      Moderator

      Thanks, I checked that, no joy.

      Looks like you still need the nbjP.jar ( I was able to recover one from a backup BEFORE we uninstalled 7.6.1.2)

      https://www.veritas.com/support/en_US/article.TECH136004 \

      For Windows systems:

      1. Place the nbjP.jar (see note below) file in the <install_path>\Java directory. 

      Note: 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.

      1. Edit the setconf.bat file adding the following lines: 

      SET USE_OS_DATETIME_FORMAT=1 (or 0)

      SET USE_OS_DATETIME_FORMAT >> "%NBJDIR%"\nbjconf
      • If SET USE_OS_DATETIME_FORMAT=1, the new format will be shown.
      • If SET USE_OS_DATETIME_FORMAT=0, the original format will be shown.

       

      SO BEFORE YOU UPGRADE - MAKE COPIES of the nbjP.jar and setconf.bat - they get replaced