worklight embedded browser not working - ibm-mobilefirst

I have worklight up and running with the "hello world" example running in a Linux environment using instructions from here: http://www.ibm.com/developerworks/mobile/worklight/getting-started.html
But, I can't see the application design because worklight can't load the embedded browser:
Clicking 'additional information' took me to another useless screen:
So, then I pointed to an external browser (chrome in my case),
but still no result:
Then attempting to use the worklight 'console', yields this:
How do I fix this?

This is what you need. You need to manually force a xulrunner version to use.

By "embedded browser" I'm guessing it is trying to open a browser window inside Eclipse...
You can go to Eclipse preferences and search for "web browser". There, change the default browser to your preferred external browser.
Next, or in addition, you can just right-click on the Worklight project and select "Open Worklight console". From there you can click on the "preview common resources" or the environment icon (if you added any) and preview.

The answer has nothing to do with worklight: Eclipse doesn't just "dump" your external browser into an eclipse window.
It uses the webkit libraries to construct a browser frame inside eclipse so that you can interact with it.
For Linux users, you need to make sure the webkit libraries are installed correctly in Linux before Eclipse can discover and use them properly. Heres some instructions:
For me, this was as simple as
sudo apt-get install libwebkit-1.0-0
Followed by restarting Eclipse.

Related

Does it exist a Weblogic plug-in for Java Mission Control 7.1.2?

The previous version of JDK Mission Control 5.5.2 bundled with Oracle JDK 7 had the possibility to add a WebLogic plug-in, which allows viewing the SQL queries, servlets between other components as seen in this image.
Then the new JDK Mission Control 7.1.2+b04 doesn't seem to have a similar plug-in or at least it's more complicated to apply it.
When trying to investigate, the JMC is pointing to
https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/update-site-instructions/index.html
stating that the plugin must be installed via Eclipse 4.8 or later, so the latest Eclipse is 2012-12 was installed, and then the plugin with https://download.oracle.com/technology/products/missioncontrol/updatesites/oracle/7.1.2/ide/ as well, as seen in this image:
The Eclipse IDE was restarted and now it got a new icon in the menu bar:
which connects (or at least it tries to connect) with the Java processes running in this local station:
but that's not the WebLogic plug-in I expected, similar to the one available in the previous version of JMC.
Does it exist a WebLogic plug-in in JMC7.1.2 similar to the existing in JMC5.5.2?
To install WebLogic plug-in for JMC, go to Help menu and select Install New Software menu item. Expand "Mission Control (Oracle)" and then "Flight Recorder" and you will find "WebLogic Pages" plug-in. Follow the instructions on screen to complete installation of plug-in.
This is described in the Oracle JMC 7 User Guide under Install JMC Standalone Application in the "Install Plug-ins for JMC Standalone Application" sub-section.

Java VisualVM MBeans plugin

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

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.

IBM Worklight Rich Page Editor Issue

Eclipse: Kepler Service Release 2
IBM Worklight: 6.1
My issue is with the rich page editor in worklight. I'm able to see design view with IE selected but upon switching to FireFox i get continuous Loading... The design view in Firefox view never loads. According to worklight documentation Firefox should be part of the product installation so i would think this should be straight forward.
Are you using the 64bit flavor of Eclipse in Windows? If using 64bit, then the Safari and Firefox buttons will not work correctly. This is a known limitation of the Rich Page Editor.
Related user documentation topic:
Browser requirements for Rich Page Editor
To make it work, you need to install the 32bit flavor of Eclipse.

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.