My webMethods Server 10.5 | My webMethods Server Webhelp | Diagnosing My webMethods Server | Using External Command-Line Diagnostic Tools | Using jvisualvm to Diagnose My webMethods Server
 
Using jvisualvm to Diagnose My webMethods Server
The My webMethods Server diagnostic tools installation contains an executable batch file (jvisualvm.bat) and a shell script (jvisualvm) in the following directory:
Software AG_directory /MWS/tools/diagnostics/bin
The jvisualvm command-line diagnostic tool for My webMethods Server starts the VisualVM tool in My webMethods Server diagnostic mode. The jvisulavm diagnostic tool requires a separate installation of the VisualVM tool, or a JDK that includes the tool.
The following procedure uses these executable files to start VisualVM in diagnostic mode for My webMethods Server.
*To start the jvisualvm tool in My webMethods Server diagnostic mode
1. Open a command console and navigate to the following directory:
Software AG_directory /MWS/tools/diagnostics/bin
2. To start the executable, run the following command:
*Windows:
jvisualvm -p visualvm_home
*UNIX:
./jvisualvm -p visualvm_home
where visualvm_home is the fully qualified path to the installation directory of the VisualVM tool.
As installed, the command executes with these parameters for SSL authentication:
-J-Djavax.net.ssl.trustStore=%SERVER_HOME%\config\security
\sagdemoca.jks -J-Djavax.net.ssl.trustStoreType=jks
This enables VisualVM to connect to My webMethods Server.