Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export VisualVM application configuration, then importing

I am moving from VisualVM 1.3.2 to 1.3.3 and want to move all of the remote servers and applications I have setup to this new installation.

I have looked at %HOMEPATH%\Application Data.visualvm\1.3.2 and see configuration for modules and preferences but nothing to do with the applications I have setup.

Please help as I have over 150 servers configured I need to move.

like image 486
Mick Knutson Avatar asked Dec 27 '11 13:12

Mick Knutson


People also ask

What is the difference between JConsole and VisualVM?

JConsole uses only JMX, but VisualVM uses other monitoring technologies like Jvmstat, Attach API and SA in addition to JMX. It can merge data from all those monitoring technologies in one place and the user does not need to think which technology he should use in particular situation.

How does remote process connect to VisualVM?

Connecting to a Remote Host To add a remote host, right-click the Remote node in the Applications window, choose Add Remote Host and type the host name or IP address in the Add Remote Host dialog box. (You can also specify a display name that will be used to refer to the host when listed under the Remote node.)

Is VisualVM included in JDK?

Various optional tools, including Java VisualVM, are provided with the Java Development Kit (JDK) for retrieving different types of data about running JVM software instances.

How add JMX connection to VisualVM?

In Java VisualVM's Applications window, right click on the Local machine and select 'Add JMX Connection'. The Add JMX Connection dialog box opens. The host name localhost is already filled in. You only need to add the port number on which the application is exposed for monitoring and management.


1 Answers

See copy of email below for explanation how to move your configuration from 1.3.2 to 1.3.3:

The defined remote hosts & JMX connections are stored in VisualVM userdir in directory 'repository'. The VisualVM userdir location is displayed in the Help | About | Details dialog. Copying the 'repository' from VisualVM 1.3.2 userdir to VisualVM 1.3.3 userdir will do the trick.

like image 148
Tomas Hurka Avatar answered Sep 23 '22 06:09

Tomas Hurka