Java VisualVM MBeans plugin - visualvm

I am running JDK 1.8.0_66 JVisualVM utility and want to use MBeans browser to Monitor my Coherence applications.
According to the Oracle tutorial I have to install the MBeans plugin first. So I went to Tools-Plugins-Available Plugins and there were no any available plugins. I checked my JDK installation for *.nbm files and found nothing.
What do I need to do to install MBeans plugin for JVisualVM? Thank you in advance.

When accessing https://visualvm.java.net I get redirected to http://www.oracle.com/splash/java.net/maintenance/index.html which states that the page has been closed.
Thus I think you have to download and install the plugins manually.
Go to https://visualvm.github.io/pluginscenters.html
Choose the link to "Java VisualVM" according to your JDK version
Download the tool manually
Select "Tools" -> "Plugins" -> "Downloaded" tab to install the downloaded file
Worked for me.

It appears the visualvm site has moved to github.io, so the links are broken. I just updated mine to the correct one on found on
https://visualvm.github.io/pluginscenters.html
In VisualVM go to Tools -> Plugins -> Settings, Edit Java VisualVM Plugins Center, and change the URL to the correct URL for your VisualVM, ex:
https://visualvm.github.io/archive/uc/8u40/updates.xml.gz
After this I was able to update & install plugins using the UI again.

You need to be connected to internet and you should have access to https://visualvm.java.net

Related

Idea intelliJ for chef development

I am trying to using Idea IntelliJ 2016.3 for chef developmemt but can't see any plugin which can help me get started. Is there any plugin I can use to start with chef development?
I tried https://plugins.jetbrains.com/plugin/1293-ruby and then https://plugins.jetbrains.com/plugin/7548-chef-integration . Downloaded the zips and tried to install from the local repo but it says Plugin is not compatible with the installation . I used the latest downloadables.
No need to download from external links. Can be done from IDE interface
Go to Add plugins in setting or press Ctrl+Alt+S
Plugins
Search Chef Integration
If not found search in the repositories
Screenshot 2
Screenshot 1

IntelliJ Run Configuration Broken by an Incompatible Plugin I Can't Uninstall?

I had been developing an application on a trial version of IntelliJ 2016 Ultimate. Since the trial version ran out, I resumed work using the Community Edition. However, trying to launch my application yielded the following error:
Unknown run configuration type #com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory
"No problem" I thought, just an incompatible plugin that was installed with Ultimate that I don't really need anyway. I opened the Plugins section of the Preferences menu, but I can't find the plugin in question. Below is a partial screenshot of the plugin list where I would expect to see the plugin listed in the error message.
The configuration can also not be edited from the Run/Debug Configurations menu, but lists the Run Configuration error as: "Broken configuration due to unavailable plugin or invalid configuration data."
Am I really unable to uninstall the Ultimate plugin preventing my run configuration from working from the Community Edition? What can I do to fix this if so?
It's have been a long time since this question was launched but it might be useful for new searches.
I got the same error with Dart and Flutter.
Just go to Menu >> File >> Settings. Then type plugins on the search box. Check if your plugins need to be updated (in my case Dart and Flutter). I the screenshot I had clicked in the "update" green button. So it turns into "Restart IDE" text. It should fix the problem once you restart the IDE.
To the best of my knowledge the community edition of IDEA will not load and run plugins that are not compatible with it. Moreover, by default, the community edition uses a different configuration directory than the Ultimate edition. So unless you modified the config directory to use, the community version should not be picking up the Ultimate Edition's plugins. Based on the error you show, I think the issue is you simply need to delete that Run configuration. The error is saying that that Run configuration wants to use a Plugin (The Tomcat Plugin) that is not available (i.e. not installed).
If you still want to confirm what plugins are installed, you can manually uninstall a plugin by removing it from the plugins directory. Note that some plugins are simply a standalone JAR, in the plugins directory, others are sub-directories within the plugins directory. Just delete the JAR or sub-directory.
That plugins directory is the idea config directory. See Directories used by the IDE to store settings, caches, plugins and logs for information on its location. On windows for example, by default it will be:
Ultimate: C:\Users\UserName\.IntelliJIdea2016\config\plugins
Community: C:\Users\UserName\..IdeaIC2016\config\plugins
UPDATE
I forgot to mention... bundled plugins are in ${idea-install-directory}/plugins. So for the ultimate edition, the Tomcat plugin is in ${idea-install-directory}/plugins/Tomcat. That is why, as you mentioned in your comment below, you are not seeing that plugin in the user installed plugin directory I mentioned above.
updating flutter and android studio worked in my
case
Simple upgrade Dart plugin..
Go to Settings/Plugins/Browse Repositories and search dart (Language) and upgrade
this will work.
I had a similar worded issue "Run Configuration Error: Broken configuration due to unavailable plugin or invalid configuration data."
In the bottom right part of the Rider IDE, you will see a popup that says
"Plugin supporting feature (Run Configuration[UNITY_ATTACH_AND_PLAY]) is currently disabled."
Click enable plugins, and restart when Rider asks you to do so.
If this does not work, remember that one possible reason is the issues with macOS indexing (my Macbook started to malfunction after its battery hit 0). A way to check is to try and search a file from the top right corner(). If you can not find existing files, this means macOS messed up with indexing.
To solve it, click Apple icon on top left side and go to System Preferences -> Spotlight -> Privacy Tab -> Add all folders to the "won't index" box -> Remove everything you have added so they get reindexed.
https://www.techradar.com/how-to/software/operating-systems/how-to-fix-a-mac-s-broken-find-function-1298964
Lastly, go to Rider and hit File -> Invalidate Caches and Restart.

How to install VisualVM plugin VisualGC - When Plugin Network Install blocked

I'm using VisualVM to monitor a number of JAVA applications, I would like to install some of the plugins that are available within this app.. Unfortunately the 'Available Plugins' option does not work for myself, as I believe I may be blocked by the corporate proxy.
Any ideas how and where I can download an offline plugin, so that I can see this in 'VisualVM'.
Thanks,
Shaun.
Plugins for offline VisualVM installations can be manually downloaded from the Plugins Centers page. Download the plugins as .nbm files. To install them in VisualVM do the following:
In VisualVM main menu choose Tools | Plugins, Plugins dialog is opened
Switch to Downloaded tab, click the Add Plugins... button, select downloaded plugin .nbm file(s) and click the Open button
Click the Install button, review and accept plugin license and wait for the plugin to be installed
Go to Tools > Plugins > Settings.
Edit URL to https://visualvm.github.io/uc/release139/updates.xml.gz.
Now plugins will be available & you can install online.
1、Plugins Center:https://visualvm.github.io/pluginscenters.html
2、 Tools | Plugins
On a production machine with no public internet connection, I was able to successfully install Luis-Miguel Alventosa's VisualVM-MBeans plugin by following this article dated November 19, 2012 and titled  "Installing VisualVM plug-ins into the shared directory"; http://veithen.github.io/2012/11/19/installing-visualvm-plugins-into-shared-directory.html; last accessed Jan 25, 2018.
"[The] article describes how to install VisualVM plug-ins into [a] shared installation directory instead of the user’s home directory. This is useful if the VisualVM installation is used by multiple users on the same system or if you want to create a custom VisualVM distribution with a set of pre-installed plug-ins. Actually the 'Force install into shared directories' option in the plug-in installation dialog (see the 'Settings' tab) should enable that, but the option doesn’t seem to work in VisualVM 1.3.4."
 
The following procedure can be used as a workaround:
Let VVM_HOME be the folder where VisualVM is installed.
On Windows Server 2012, a good choice might be C:\Users\Public\Public Desktop\VisualVM
Let PUBLIC be a machine with a public internet connection.
Let PRIVATE be a machine that lacks a public internet connection.​
On PUBLIC
Install VisualVM.
At least once, start VisualVM and exit.
Remove (or backup) the user's VisualVM per-user configuration folder.
On Windows Server 2012, %APPDATA%\VisualVM\x.y.z.
On Linux, ${HOME}/.visualvm/x.y.z folder.
Launch VisualVM and install the relevant plug-ins. They will be placed into the user's VisualVM per-user configuration folder (the one deleted in the previous step).
On PRIVATE
Install VisualVM.
Create a new directory called custom (you may of course choose a different name if you want) under the VisualVM installation directory (i.e. at the same level as the platform and visualvm directories).
​Copy the following folder structures from ${HOME}/.visualvm/x.y.z to the custom directory e.g. %PROGRAMDATA%\VisualVM​\x.y.z (so that the resulting folder structure matches the one in platform and visualvm):
​​​config/Modules
modules
update_tracking
Edit the VVM_HOME/etc/visualvm.conf file enable a custom cluster folder: on Windows Server 2012, the line readsvisualvm_extraclusters=C:/ProgramData/VisualVM/1.4​
Remove the user's VisualVM per-user configuration.
If you start VisualVM now, the plug-ins you have copied to the custom folder should be available immediately.
All sorted now...
If you goto the Plugin download site and download the required plugin, this by default is a ZIP file. Rename the ZIP to a NBM file and then you can manually install the plugin via the download tab.

installing plugin in eclipse-cpp-helios-SR2-linux-gtk-x86_64

Can someone tell me how to install a map reduce (hadoop) plugin in eclipse-cpp-helios-SR2-linux ? Thanx in advance
hi
you can try this approach. Use any latest version of eclipse and than install CDT in it. This will allow you to write c/c++ application.
for your hadoop just go to you hadoop installation directory,here in contrib folder you will find eclipse plug-in in this folder you will get the jar file, just copy this file in to eclipse plug-in directory and restart the eclipse.
Now check for map-reduce perspective in window->open perspective and select build configuration according to your system
I don't know about the hadoop plug-in site if you find a site which provide hadoop plug-in than
There are two way to do it.
1:As you read over the net copy the plug-in and paste it into Eclipse plug-in folder and restart the eclipse. This is not the best way to install plug-in.
2: The proper way to install plug-in in eclipse is following :
Go to Help menu in Eclipse main window press Install new software.
Here in tab work with just put the address of website from where you want to install the plug-in.
Write any name for plug-in than look in the text box. it will provide you proper name of the plug-in and "next " tab at the bottom will be activated.
Press the next tab,It will install your plug-in .
At the end of installation just restart the eclipse to take the new setting effect.

Force.com IDE - Eclipse Plugin doesn't work?

I'm new to Apex and have just downloaded Eclipse to get to work
Eclipse SDK 3.3.2
I've followed the instructions on
http://wiki.apexdevnet.com/index.php/Force.com_IDE_Installation_for_Eclipse_3.3.x
and have added the Remote site:
http://www.adnsandbox.com/tools/ide/install/
but i get a dialog telling me
"No features found on the selected site(s). Choose a different site or site category"
Any ideas what i've done wrong??
Thanks
Dan
Try that process from a clean eclipse install, and repeat the installation steps, making sure that before clicking on "Finish" you unselect the checkbox at the lower left: "Ignore features not applicable to this environment".
Also, check if http://www.adnsandbox.com/tools/ide/install/ is accessible from your workstation.
Please check your proxy setting by accessing "http://www.adnsandbox.com/tools/ide/install/" URL in any of browser and update proxy setting in eclipse.
Force.com now has a standalone development environment that you don't need to download Eclipse for. Just putting it out there for people who stumble across this post.
Install the latest Eclipse Ganymede and try that.
Another good news for you is, force.com is coming with Eclipse galileo plugin in coming release.