How to execute runWLSMbean.bat or sh file?

How to execute runWLSMbean.bat or sh file?

Execute the runWLSMbean.bat or sh file from the <AppManager_home>\bin\troubleshooting folder via command prompt or terminal.
  1. Eg. ~/Zoho/ManageEngine/ManagedServer/AppManager15/bin/troubleshooting$ ./runWLSMbean.sh
It will prompt for the details to connect to the Weblogic Server:

      Enter the weblogic version [6,7,8,9,10,12] :  
      Enter the version of the weblogic server that needs troubleshooting.
      Eg. 12

      Enter the Weblogic server host : 
      Enter the host name or IP address of the machine in which the Weblogic server is running.

      Enter the Port :
      Enter the port in which the Weblogic server is running
      Eg. 8001

      Is SSL enabled (yes/no) :
      Type yes, if SSL is enabled for the Weblogic Server. Default value is no.
      
      Username :
      Enter the username of the Weblogic server.
      Eg. weblogic

      Password : 
      Enter the password of the Weblogic server.
      Eg. xxxxx

After entering the input for all the above prompts, if the connection is successful, you will see an output similar to the one given below:

jar loader 12
t3://
<IP_Address>:8001
Connection=========>javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection
MBEANSIZE 615
webapp's 5
$

If the connection is unsuccessful or if the prerequisites haven't been met, you might face errors or get an output different from the one mentioned above.

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to execute ServerSSHTroubleshoot.bat or sh file ?

                      Solution: Execute the file ServerSSHTroubleshoot.bat or sh from the <AppManager_home>\bin\troubleshooting folder (<AppManager_home>\bin in older versions of Applications Manager). Via command Prompt Execute the ServerSSHTroubleshoot.bat or sh file. ...
                    • How can I execute the GlassFishDebug.bat / GlassFishDebug.sh file?

                      Note: Although the script name mentions GlassFish Server, the script file can be used for troubleshooting any monitor connectivity issues, that comes under JMX mode of monitoring like JMXApplications, Apache Zookeeper, Apache Geronimo etc., This file ...
                    • How can I execute UpdateHostnameandIP.bat/sh ?

                      Here are the steps to execute UpdateHostnameandIP.bat/sh: 1) Execute <AppManager_Home>\bin\troubleshooting\UpdateHostaneandIP.bat/sh file. For example,  updateHostNameAndIp.bat/sh [Previous HostName/IpAddress] [new HostName/IpAddress] ...
                    • How to execute WebsphereMQDebug.bat / WebsphereMQDebug.sh?

                      This file is used to check if the connectivity and the Discovery of the Websphere MQ Server is possible from the Applications Manager server. This standalone program is an excerpt of the same process we use to add the Websphere MQ Server monitor. The ...
                    • How can I execute the popTest.bat / popTest.sh file?

                      This file is used to check if the connectivity and the Discovery of the POP Server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the POP Server monitor. The usage ...