Monday 19 October 2020

Open JMX Console for Wildlfy Server in a Windows machine

This post is to explain how to open the JMX Console when you are running Wildfly Server in a Windows box. I have used this option to check the Heap Space usage.

"The JMX subsystem registers a service with the Remoting endpoint so that remote access to JMX can be obtained over the exposed Remoting connector.

This is switched on by default in standalone mode and accessible over port 9990 but in domain mode is switched off so needs to be enabled - in domain mode the port will be the port of the Remoting connector for the WildFly instance to be monitored.

To use the connector you can access it in the standard way using a service:jmx URL"

I have used the below to access the jConsole from the host machine (Windows machine) itself.

1. Open the jconsole.bat from the bin folder.




2. Select the Remote access Option

3. Enter the URL as 'service:jmx:remote+http://localhost:9990' and click on Connect




This will open the JMX Console.

Ref : JMX subsystem configuration

         Connecting to a remote WildFly Server in Standalone Mode




Monday 4 May 2015

Failure Configuring Windows Updates. Reverting Changes. Do not turn off your Computer.

The got the below error message when automatic Windows update was running in a Windows 7 which was running in a parallels VM in mac.
"Failure Configuring Windows Updates. Reverting Changes. Do not turn off your Computer."

There could be various reasons for this error to come up. You can google for this and find many reasons. For me, it was a specific one. I found the solution in some blog/forum, but I cannot find that one now, so thought of adding that to my blog.

Reason: 
There was an external hard disk attached to the machine.

Fix:
Remove the external devices and restart the Windows.

Feel free to point out if anything is missing/wrong in this blog. 

Sunday 3 May 2015

You are running VMware Player through an incompatible hypervisor.

Recently I tried to run a VMWare image inside a Windows VM which is running on a Parallels in a Macbook Pro.

I accessed the Windows VM from mac using Parallels. Then I tried to access a VMWare image from the Windows using a VMWare Player. When I tried to run the VMWare Image, I got the below error:
"You are running VMware Player through an incompatible hypervisor.  You cannot power on a virtual machine until this hypervisor is disabled."

Fix:
Open the .vmx file in a text editor and add the below line at the end.
 vmx.allowNested = "TRUE"  

Ref: VMWare Community: Running Nested VMs

Feel free to point out if anything is missing/wrong in this blog.