As per best practices, then make a backup of any files that are to be changed. In this case, make a backup copy of the NX.env file.
Edit the NX.env file. Add one of the following parameters to the appropriate"JAVA_OPTIONS" environment variable in the NX.env file:
For example, change:
@NX_JAVA_OPTIONS=-Djava.net.preferIPv4Stack=false -Xms64M -Xmx1024M
@NX_JAVA_OPTIONS=-Djava.net.preferIPv4Stack=false -Xms64M -Xmx1024M -Djavax.net.debug=all
Save the file.
Restart Tomcat by running "pdm_tomcat_nxd -c STOP", waiting a minute or two, and then running "pdm_tomcat_nxd -c START".
The addition of the parameter to the options causes additional messages to be written to the $NX_ROOT\log\jsrvr.log file.
(If you may want the change to persist, make the same change to the NX.env_nt.tpl file.)
Remove the added parameter from the environment variable and recycle Tomcat as soon as it is no longer needed, so that any potential performance impact of writing the additional debug messages is avoided.