VisualVM only displays java application that are running within the same user like VisualVM. Because Windows Services are running within a special system user, Xpert.ivy Server running as Windows Service is not visible by default.
However, you can setup JMX (Java Management Extension) on Xpert.ivy Server so that you can connect from VisualVM to Xpert.ivy Server running as Windows Service using the JMX Connector.
To configure JMX on Xpert.ivy Server Windows Service do the following steps:
1. Navigate to the bin directory inside
the Xpert.ivy Server installation
directory
2. Copy the Example.ilc file to
XpertIvyServerService.ilc
3. Open the file XpertIvyServerService.ilc in a text
editor and add the line below to
enable JMX.
4. Restart the Xpert.ivy Server Windows
Service
Add the following line to the *.ilc file to enable JMX:
ivy.vm.additional.options=-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=9999
To connect from VisualVM to the Xpert.ivy Server Windows Service do the following steps:
1. In VisualVM press the button *Add
JMX Connection* in the toolbar
2. In the appearing dialog configure *localhost:9999* as connection
3. Press the *OK* button
4. The additional JMX connection appears in the list of java
applications. Double click it to
open it.
Note, that JMX is not secured by this configuration. Everybody with network access to your machine can establish a remote JMX connection to your Xpert.ivy Server Windows Service.
In the next Xpert.ivy Version called *Lauberhorn* the configuration of JMX is much easier. You simple have to add the following line to the *.ilc file:
ivy.management.port=9999
The connection is also protected by a user name and password. Only Xpert.ivy system administrators can establish establish a JMX connection with their credentials.
More Information about VisualVM can be found here:
[VisualVM Homepage](http://visualvm.java.net/)
More Information about JMX can be found here:
[Oracle JMX Guide](http://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.html)
[1]: http://