NX_LOCAL_SERVLET_SERVER_URL and the NX_SERVLET_SERVER_URL comparison in the NX.env.
search cancel

NX_LOCAL_SERVLET_SERVER_URL and the NX_SERVLET_SERVER_URL comparison in the NX.env.

book

Article ID: 37204

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

What is the difference between the NX_LOCAL_SERVLET_SERVER_URL and the NX_SERVLET_SERVER_URL variables present in the NX.env file? What features of ServiceDesk use these variables?

Environment

Release: 17.x

Resolution

The NX_LOCAL_SERVLET_SERVER_URL and the NX_SERVLET_SERVER_URL NX variables are used by Attachments and Export funtions.

- File attachments uses NX_LOCAL_SERVLET_SERVER_URL.
NOTE: If 'Attachment Servlet Path' field of a Server Detail screen ('System' > 'Servers' on [Administration] tab) is set, it is used prior to referring to the NX_SERVLET_SERVER_URL variable.

- Export function uses NX_LOCAL_SERVLET_SERVER_URL as of 17.1.
In earlier releases (14.1), variable NX_LOCAL_SERVLET_SERVER_URL  is checked and if this variable is not set (undefined), then the NX_SERVLET_SERVER_URL variable value will be used.  

If both variables have a value, NX_LOCAL_SERVLET_SERVER_URL will take precedence over NX_SERVLET_SERVER_URL.