・ About the tool for acquiring Java thread dump
You can take it by using the jstack tools etc. included with Java.
(Example of running a jstack command)
$JAVA_HOME/bin/jstack [Resin Process ID] > threaddump.txt
Since jstack is a tool that comes with Java, it is possible that command options are changed.
For details, please check the documents etc. provided by the Java provider.
(Reference) Oracle - Java Platform, Standard Edition Tools Reference - jstack
https://docs.oracle.com/javase/jp/8/docs/technotes/tools/unix/jstack.html
If you cannot execute the jstack command, you may be able to acquire it by using tools such as PsExec or schtasks.
The command execution examples are described below, but it is possible that the command options are changed.
For more information, please check the documents etc. provided by the tool provider.
(Example of PsExec command execution)
psexec \server host -u user ID -p password -s jstack process ID > C:\TEMP\threaddump.txt
(Example of using the schtasks command)
Create a bat file that executes jstack process ID > C:\TEMP\threaddump.txt, then create a task with schtasks /create and execute it immediately
・ Timing and number of acquisitions
The thread dump can be acquired at any time of your choice, such as when a phenomenon occurs.
Then, please perform multiple acquisitions (3 to 4 times) at intervals of 5 seconds.
・ About the process ID of Resin
You can also confirm the Resin process ID with Resin’s “status” command.
Please refer to the following document.
intra-mart Accel Platform Setting file reference - Resin - Health function - watchdog - status
https://document.intra-mart.jp/library/iap/public/configuration/im_configuration_reference/texts/resin/health/watchdog/index.html#status
・ When Resin is started at the Windows service
When Resin is started at the Windows service, the following process is launched.
resin.exe
Javaw.exe (Parent: Watchdog)
Javaw.exe (Child: Resin server)
If you execute the Resin "status" command in the above state, the following information will be output.
In the following sample output, the PID of the JVM Resin is running is "pid: NNNNN".
(Sample Output)
Resin/4.0.XX status for watchdog at XXXX.XXXX.XXXX.XXXX:XXXX
watchdog:
watchdog-pid: XXXXX
server 'app-0' : ACTIVE
password: missing
watchdog-user: XXXXX
user: XXXXX
root: /d:/resin_XXXXX_XXXXX
conf: /d:/resin_XXXXX_XXXXX/conf/resin.xml
pid: NNNNN
uptime: X days XXhXX
web-app 'default/resin-admin': ACTIVE
web-app 'default/ROOT': ACTIVE
web-app 'default/imart': ACTIVE
The way to acquire a thread dump is also introduced in the following CookBook.
(Reference) intra-mart Developer Site - How to take a thread dump
https://dev.intra-mart.jp/cookbook113648/
*Note
We do not respond to inquiries about how to use the other company's tools introduced above, and the contents of the Cookbook in our Product Support.
-- Target ----------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------
FAQID:1221