NRE 17.x: How to Clear Java Cache, Enable Java Console, and Debugging
Summary: 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). ...
Instructions
NetWorker Runtime Environment (NRE) provides the Java Runtime Environment (JRE) used by the NetWorker authentication service and NetWorker Management Console (NMC).
Clearing Java Cache:
- Open Windows File Explorer and go to "
C:\Program Files\OpenWebStart" - Open
itw-settings.exe(OpenWebStart Console). - Go to Cache
- 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:

Option Two: From Cache Viewer, click Clean by app. Select the NMC gconsole.jnlp for a specific NMC server, click Delete Files.
Enable Java Console:
- Open Windows File Explorer and go to "
C:\Program Files\OpenWebStart" - Open itw-settings.exe (OpenWebStart Console).
- Go to Logging.
- 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.

- Click Apply, then click Ok.
Enable Java Debug:
- Enable the Java Console as per the above steps.
- Launch the NetWorker Management Console's (NMC)
gconsole.jnlpfile. - Log in to the NMC.
- From the Enterprise window,
CTRL+SHIFT+Right-Click - Click Save Debug Messages… and specify an output location.

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

- 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.
- 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:
OFFSEVEREWARNINGINFOCONFIGFINEFINERFINESTALL
Enable NMC (gstd) Debug:
Debugging can be enabled on the NMC's GST service from the NetWorker Management Console.
- From the NMC's Enterprise screen, click the Setup tab.
- Click the Setup menu and select System Options.
- From System Options, set the Debug Level as required, typically 9.
- No service restart is required, perform actions from NMC requiring debug.
- Render the
gstd.rawfrom 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
- Collect the rendered
gstd.rawfile from the NMC server.
Additional Information
- NetWorker: How To Enable AUTHC DEBUG for Troubleshooting Purposes
- NetWorker: How to Enable REST API Debugging
- NetWorker: How to enable RabbitMQ Debugging
- NetWorker Management Web UI (NWUI): Triage and Troubleshooting Guide