4.7.1 When using the management command
To acquire a thread dump of JavaVM using the management command (mngsvrutil), specify server in the argument of the sub command dump of the command mngsvrutil and execute the command.
The following thread dump can be acquired:
-
J2EE server (including cluster)
-
CORBA naming service and CTM
For the mngsvrutil command, see mngsvrutil (Management Server management command) in the uCosminexus Application Server Command Reference Guide. For the sub commands of the mngsvrutil command, see 7.3 Details of subcommands of the mngsvrutil command in the uCosminexus Application Server Command Reference Guide.
The execution format, an execution example, and output destination for mngsvrutil command are as follows:
- Execution format
mngsvrutil -m Management-Server-host-name[:port-number]-u management-user-ID -p management-password -t logical-server-name dump server
- Execution example
mngsvrutil -m mnghost -u user01 -p pw1 -t myserver dump server
- Output destination
-
- When the target is a J2EE server
-
-
In Windows
working-directory#\ejb\server-name\javacore*.txt
-
In UNIX
working-directory#/ejb/server-name/javacore*.txt
# The working-directory indicates a directory specified in the user definition of a J2EE server (ejb.public.directory in the usrconf.cfg file). The default values are as follows:
-
In Windows
Cosminexus-installation-directory\CC\server\public
-
In UNIX
/opt/Cosminexus/CC/server/public
-
- When the target is a CORBA naming service and CMT
-
-
In Windows
Cosminexus-installation-directory\TPB\logj\javacore*.txt
-
In UNIX
/opt/Cosminexus/TPB/logj/javacore*.txt
-