Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Running JConsole through ssh tunnel to troubleshoot vCenter Operations Manager vApp behind firewall (2032539)
Symptoms
- Java instances in the vCenter Operations Manager vApp fail
- You need to troubleshoot Java instances on the vCenter Operations Manager vApp
Purpose
Note: The vCenter Operations Manager vApp does not have an X server and graphical interface.
Resolution
To run the Java Monitoring and Management Console to troubleshoot Java instances:
Using
ssh on Linux:- In the terminal, run the command:
# ssh -f -ND 1500 192.168.1.85 -l root - Enter the
rootpassword. - Open the Java Monitoring and Management Console by running this command:
Note: Port 1205 in the command below can be changed to connect to different processes. For example, use 1099 for ActiveMQ, 1203 for Collector, or 1201 for Web.jconsole -J-DsocksProxyHost=localhost -J-DsocksProxyPort=1500 service:jmx:rmi:///jndi/rmi://192.168.1.85:1205/jmxrmi
Using
ssh on Windows with PuTTY:- Run PuTTY and enter the host name/IP address.
- Expand SSH in the Category panel, then click Tunnels.
- Select Dynamic, enter
1500in the Source Port field, then click Add.D1500appears in the Forwarded ports field. - Click Open.
- Click Yes when when the PuTTY Security Alert appears.
- Log in as
root. The tunnel is initiated. - At the command prompt, open the Java Monitoring and Management Console by running this command:
Note: Port 1205 in the command below can be changed to connect to different processes. For example, use 1099 for ActiveMQ, 1203 for Collector, or 1201 for Web.jconsole -J-DsocksProxyHost=localhost -J-DsocksProxyPort=1500 service:jmx:rmi:///jndi/rmi://192.168.1.85:1205/jmxrmi
Impact/Risks
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

