ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
find pid of tomcat running servicedesk
book
Article ID: 112182
calendar_today
Updated On:
Products
SUPPORT AUTOMATION- SERVERCA Service Desk Manager - Unified Self ServiceCA Service Desk ManagerCA Service Management - Asset Portfolio ManagementCA Service Management - Service Desk Manager
Issue/Introduction
The stop and restart tomcat may sometine produce an error about port in use on restart. Strongly suspecting the stop was not ended properly. We are looking for the pid of tomcat process running ServiceDesk
On the server running ServiceDesk, we see many java.exe and javaw.exe process
How to identify which one is from servicedesk ? The intent is to kill it from the OS and make sure nothing is running with allocate of the port.
-> We would see result like this << ..... pdm_tomcat 10536 SIGNIFICANT pdm_tomcat.c 1381 SERVICEDESK Tomcat javaw process started (pid=11252) ..... pdm_tomcat 10936 SIGNIFICANT pdm_tomcat.c 1381 VIZ Tomcat javaw process started (pid=12568) ..... pdm_tomcat 9708 SIGNIFICANT pdm_tomcat.c 1381 FS Tomcat javaw process started (pid=12604) ..... pdm_tomcat 9632 SIGNIFICANT pdm_tomcat.c 1381 SA Tomcat javaw process started (pid=10084) ..... pdm_tomcat 6400 SIGNIFICANT pdm_tomcat.c 1381 REST Tomcat javaw process started (pid=10204) >>
With this sample, the pid of SERVICEDESK is 11252
-> On your testing machine, would be possible to kill it taskkill /f /t /pid 11252
To restart tomcat, execute pdm_tomcat_nxd -d start