After restarting CA Service Desk, the Secondary server Tomcat engines stop responding and would give a message like: "AHD4409 pdmweb is unable to connect with the web engine".
Release: Service Desk 12.7 and later, Conventional Setup (Primary/Secondary Server configuration)
Component: CA Service Desk Manager
Normally this problem happens if the server (domsrvr) is not fully initialized before tomcat starts.
Change NX.env and NX.env template file (NX_ROOT\pdmconf\nx.env_nt.tpl) of Primary and Secondary servers:
From:
! NX_SLUMP_FIXED_SOCKETS=1
! NX_SLUMP_SECONDARY_SOCKET=2100
TO (trade the "!" comment for "@"):
@NX_SLUMP_FIXED_SOCKETS=1
@NX_SLUMP_SECONDARY_SOCKET=2100
Note: You could also use pdm_options_mgr command line to install the above options as well. Refer to Reference Guide for more information on how to use the same.
During the startup of a Primary, the Primary server could becomes really busy starting a lot of needed components. So the machine (not slump, but Windows) may not be able to respond quickly to incoming TCP requests etc. That's why the Secondary Tomcat server encounters issue where it can't get a connection successfully established in time. So we can sset a time delay so that the tomcat will try to connect to slump a little after Primary settles down.
There are 2 ways to accomplish this:
PDM_TOMCAT_CONTROLLER (_pdm_tomcat_SERVERSEC01,"SERVERSEC01", pdm_tomcat-SERVERSEC01)
after domsrvr connects + 120
after _ver_ctl_SERVERSEC01 finishes
after _msgcat_build_SERVERSEC01 finishes
PDM_TOMCAT_CONTROLLER (_pdm_tomcat_SERVERSEC02,"SERVERSEC02", pdm_tomcat-SERVERSEC02)
after domsrvr connects + 120
after _ver_ctl_SERVERSEC02 finishes
after _msgcat_build_SERVERSEC02 finishes
Restart the Service Desk Services in below order:
Additionally, check that the Tomcat entries are present and running by running pdm_status.
Check the NX.env file noticed that the Java path was set to 11.0.12 but that java version was located inside of that folder.
Copied the Java folder to match what was inside of NX.env file.
In some cases, adding variable NX_SKIP_USP_PREFERENCES_AT_STARTUP to the NX.env file may help