NRE 17.x: How to Clear Java Cache, Enable Java Console, and Debugging

摘要: This article provides an overview of how to clear Java cache, enable Java console, and configure Java debug on Microsoft Windows systems using NetWorker Runtime Environment (NRE) to access the NetWorker Management Console (NMC). ...

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

NetWorker Runtime Environment (NRE) provides the Java Runtime Environment (JRE) used by the NetWorker authentication service and NetWorker Management Console (NMC).
 

NOTE: This article is only applicable for NRE 17.x, which NetWorker 19.13.x and later uses. It does not apply for NRE 8.x used by NetWorker 19.12 and prior. For NetWorker 19.12.x (and older): NRE 8.x: How to clear Java Cache, enable Java Console and Debugging.

Clearing Java Cache:

  1. Open Windows File Explorer and go to "C:\Program Files\OpenWebStart"
  2. Open itw-settings.exe (OpenWebStart Console).
  3. Go to Cache
  4. Use one of the following options to remove all the files (purge), or remove the files for specific NMC server connection.

Option One: Click View Files. Click Purge to remove all the java cache files:

Purging NRE Java Cache

Option Two: From Cache Viewer, click Clean by app. Select the NMC gconsole.jnlp for a specific NMC server, click Delete Files.

NRE clean cache by application  

Enable Java Console:

  1. Open Windows File Explorer and go to "C:\Program Files\OpenWebStart"
  2. Open itw-settings.exe (OpenWebStart Console).
  3. Go to Logging.
  4. Select the following options:
  • Log Console: Show
  • Increase verbosity of the log (debug)
  • Log to standard output (logs to the console)
  • Log to file (logs to log file)
  • Optional: Change the location of the log folder. If this is not changed, the log output is logged to C:\Users\USER-NAME\.config\icedtea-web\log.

Enable Console

  1. Click Apply, then click Ok.
CAUTION: These changes are only suggested for diagnosing an issue. Ensure that adequate disk space is available in the log output location and carefully monitor the file system consumption while debugging operations. Once the troubleshooting session has completed, revert these settings to default.

Enable Java Debug:

  1. Enable the Java Console as per the above steps.
  2. Launch the NetWorker Management Console's (NMC) gconsole.jnlp file.
  3. Log in to the NMC.
  4. From the Enterprise window, CTRL+SHIFT+Right-Click
  5. Click Save Debug Messages… and specify an output location.

NetWorker Management Console - Save Debug Messages

  1. In the Enterprise window, again
  2. From Set Debug Level, select the wanted debug level. Usually, 7

NetWorker Management Console - Set Debug Level

  1. Perform actions within NMC which require debug. Copy the output from the Java Console session and collect the Java output file that is created in step 5.
  2. To disable debug, repeat the process but set Debug Off.

Enabling NRE Debug:

NRE debug can be configured inside the NRE C:\Program Files\NRE\logs\logConfig.properties file. The default log debug level is WARNING.

The supported Log Levels from lowest to highest are:

OFF
SEVERE
WARNING
INFO
CONFIG
FINE
FINER
FINEST
ALL

Enable NMC (gstd) Debug:

Debugging can be enabled on the NMC's GST service from the NetWorker Management Console.

  1. From the NMC's Enterprise screen, click the Setup tab.
  2. Click the Setup menu and select System Options.
NetWorker Management Console - Setup menu
  1. From System Options, set the Debug Level as required, typically 9.
NetWorker Management Console - System Options
  1. No service restart is required, perform actions from NMC requiring debug.
  2. Render the gstd.raw from the NMC server.

Linux: /opt/lgtonmc/logs/gstd.raw
Windows: ..\Program Files\EMC NetWorker\Management\GST\logs\gstd.raw

To render .raw files, see article NetWorker: How to use nsr_render_log to render .raw log files

  1. Collect the rendered gstd.raw file from the NMC server.

其他資訊

受影響的產品

NetWorker

產品

NetWorker Family
文章屬性
文章編號: 000342142
文章類型: How To
上次修改時間: 24 10月 2025
版本:  4
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。