WSO2 Developer Studio 2.1.0 (previously Carbon Studio) plug-in causes Eclipse load to hang - eclipse

I am trying to install the new WSO2 Developer Studio 2.1.0 into Eclipse. It appeared to install successfully, but when I try to start Eclipse it hangs forever (e.g. > 30 minutes) with the message “Loading Workbench”. On one attempt (after leaving it for maybe 45 minutes), it actually got as far as bringing up the Eclipse main window, but it hung there with the message “Marketplace DND Initialization”. The Eclipse process is steadily using about 25% of my CPU.
There is an error in my Eclipse workspace/.metadata/.log file:
!ENTRY org.eclipse.ui.navigator 4 0 2012-10-17 11:20:18.303
!MESSAGE An extension already exists with id "org.eclipse.ui.navigator.resourceContent".
This appears about 20 times per attempt to load Eclipse, all in the first few seconds after initiating the load.
I followed the WSO2 Developer Studio installation guide (http://dist.wso2.org/products/developer-studio/2.1.0/docs/install_guide.html). I was unclear about the prerequisites. It says “Eclipse WTP 3.1.0 or higher”, but that appears to be from old Eclipse versions (Galileo), so I didn’t worry about it. My Eclipse About screen says WTP 1.0. The other prerequisite was for Carbon Server. I am already running latest BPS server (beta), which includes Carbon, so I didn’t worry about it. Just to be sure, I later installed the latest stand-alone “Carbon Server”, but that didn’t help any.
I also tried increasing memory settings in eclipse.ini by 50% (to XXMaxPermSize: 384, -Xmx768m) from the default. No help.
Here is my system:
MS-Windows 7 Enterprise on a 64-bit laptop
Java 1.6
Eclipse IDE for Java EE Developers, Indigo 3.7, 32-bit. Version 1.4.0.20110615-0550
(relevant) Eclipse features:
WTP Version: 1.0.0.v201104180000-797B1CcNBHGC_DRAwXT3B
Subclipse 1.6.x
Aptana Studio 3.0.4 MS Windows x86 “Eclipse plug-in version”. Version: 3.0.4.201108101432-7E37B7HFEHCdSHSV5R_IyJetqA_B
CollabNet Merge Client 2.2.4
Any help would be appreciated.

Hi I faced the same problem especially with nested WSO2 projects / multi module Maven projects. A little change on my Eclipse Project Explorer Settings solved the problem for me.
What I have done:
Open View Customization menu on Eclipse Project Exlporer (the triangle in menu bar of the view)
Clicked "Customize View..."
Unchecked "Hide WSO2 Registry Resource Conflict Items" and "Hide nested projects"
Apply by clicking "OK"
As a result all nested folders will be shown in a flat layout (as usual from m2e-Integration for multimodule Maven projects) but the IDE is now faster and less cpu consuming and doesn't freeze on save anymore.
My Environement looks like:
OS: Windows 7 64bit
Eclipse Indigo Service Release 2 (Build: 20120216-1857)
Eclipse WTP 3.40
Java JDK 1.6.0_31 (32-bit)
WSO2 Developer Studio 2.1.0
M2E-Integration 1.2.0.20120903-1050
M2E-WTP 0.17.0.20121108-1856
Hope it helps
Edit: Sorry I forgot to mention that I had to go through the steps from Harshana first after a fresh installation of WSO2 Developer Studio 2.1.0. My JVM is parameterized with -Xms512m
-Xmx1384m.

Can you try to clean your System Temp folder before starting the Eclipse instance and see whether there is an improvement?
And please use a fresh Eclipse workspace after installing Developer Studio.
We have seen this behavior couple of times in the past and above 2 procedures and increased memory helped to resolve the issue.
Hope this helps!
Thanks and Regards,
Harshana

Developer studio 3.5 beta 2 is released. It improved with lot of bug fixes.
http://devamanthrils.wordpress.com/2014/01/14/developer-studio-3-5-0-beta-2-released/

Related

Eclipse error log view missing

I installed eclipse oxygen (4.7.0) "Eclipse IDE for Java Developers".
After installation I mentioned that "error log" view is not available any more.
I restarted eclipse multiple times and used also other workspaces.
How can I get back the error log view?
Did you try resetting whichever perspective you are using ?
(Window -> Reset perspective...)
I have found a solution: Just install Eclipse SDK by
Help->Install New Software...
After this is done restart eclipse and you got back the error log view.
The Error Log View is missing on a default installation of the Eclipse Platform Runtime. I assume this was missing from the "Eclipse IDE for Java Developers" package for Eclipse Oxygen either (I didn't test myself).
For sure, I'm experiencing this problem in 2018-09 and 2018-12 if I install the Eclipse Platform Runtime Binary (the bare-minimum Eclipse runtime I know of).
I opened bug 543120 for this.
I don't have tested the hexadez suggested workaround, because having to install the whole Eclipse SDK just to have this view is too much for me.
Another workaround I found is to install the bundle "Mylyn Context Connector: Eclipse IDE" from the 2018-09 or 2018-12 update sites: it's a much smaller compromise.

My eclipse plugin is showing on eclipse marketplace web site, but not in eclipse marketplace client

I uploaded a plugin I developped to eclipse marketplace platform, following the steps described at https://marketplace.eclipse.org/quickstart.
Now I can find my plugin on their web site (https://marketplace.eclipse.org), and I can install it from there (by dragging and dropping the install button).
The problem is I can't find it using eclipse marketplace client (the one inside eclipse, that opens using Help / Eclipse Marketplace...).
What could be wrong...? Maybe the development stage (now beta) ? Maybe eclipse compatible versions have to be specified ? (I said luna but maybe there is a format or something)
I have not put links to my plugin because I wasn't sure about SO policy. I can put them / send them by mail if it can be helpful.
Thanks in advance !
Well it works now !
I changed several things so I'm not sure which one was the good one :
- Changed development stage from "alpha" to "beta"
- Added a version for the plugin ("1.1.0", this is just a text field)
- Added a version for eclipse ("Luna", this is just a text field)
I think the missing information was the Eclipse version. Without that, the Marketplace Client in your Eclipse install doesn't know if the connector is compatible with that version of Eclipse.
For example, the JBoss Tools and Red Hat Developer Studio marketplace connectors have several different versions of tooling in it, each targeting a different version of Eclipse.
4.5 / 11 -> Eclipse Oxygen (4.7)
4.4 / 10 -> Eclipse Neon (4.6)
4.3 / 9 -> Eclipse Mars (4.4)
4.2 / 8 -> Eclipse Luna (4.3)
So, depending on the version of Eclipse you're using, you'll get a different version of tooling from the connector, as it links to a different update site for each version.

Glassfish 4(development build) + eclipse juno

I am trying some of the new features which are only available in Glassfish4(development build).
My current eclipse plugin does not allow me to connect to glassfish4 - there's no 4.x version in the list.
Is there any way I can make it work? I would like to deploy/start the app from eclipse.
If you are using an Eclipse that is older than Juno... you cannot work with GlassFish 4.
If you have Juno, you can install a plugin that allows you to register GlassFish 4 server run-times. BE SURE TO READ https://blogs.oracle.com/piotrik/entry/new_version_of_glassfish_eclipse before you attempt to update your current GlassFish plugin. If you do not have a GlassFish plugin installed in Juno, you can probably ignore almost all of the content of that page.
If you have Kepler M6 installed, you can try out the GlassFish server adapter (GFSA) and the GlassFish 4 run-time plugin (GF4RTP). The GFSA is available here: http://download.java.net/glassfish/eclipse/kepler
The latest update of the GFSA for Kepler should play nicely with the Java EE 7 features that got integrated into Kepler's milestone 6 release.
The GF4RTP is available here:
http://download.java.net/glassfish/eclipse/kepler/runtime
NOTE: all the bits available under download.java.net/glassfish/eclipse/* are developer stream bits. They are not 'production quality' and are being made available to get feedback from users willing to give them a try. If you have to do something critical, you may want to wait for bits that will be integrated into the Oracle Enterprise Pack for Eclipse.

How to deploy on JBoss AS 7 from Eclipse Juno?

I'm using Eclipse Juno and want to test my Java web app in JBoss AS 7. How do I configure Eclipse so that it starts JBoss AS 7 and deploys the war? Also remote debugging should work. It seems I can't use JBoss Tools as they are only released for the previous Eclipse versions (Indigo and Helios).
Any pointers?
It seems that the current stable releases of JBoss Tools supports Eclipse Indigo (3.7.2) and Helios (3.6.x) as detailed here :
Is there a Beta Update site for Juno ?
This page has the details of the update site for Juno :
Instructions will be posted after the first Juno-compatible milestone
is available.
Until then, just point your Eclipse 4.2 (Juno) installation at this
site to install the latest nightly build. Note that there is no
guarantee of quality with a nightly, nor do we guarantee it won't set
your computer on fire.
Update site : JBoss Tools - Core - Nightly Build Update Site
It bears repeating, that the above is unstable at the moment.
Stability of JBoss Tools Beta for Juno ?
From this page:
Since the first version of Eclipse Juno is arriving soon it is worth
mentioning that JBoss Tools from its updatesite can be installed on
top of Juno.
It is though not guaranteed everything works, we know that especially
Hibernate Dali/JPT integration have issues since here the API has
changed greatly.
But if you are a Juno early-adopter then do please try run JBoss Tools
on it and if you find issues let us know in the forum or on JIRA.
Also, this might be of interest :
Our latest Beta, soon coming CR1 runs on Eclipse Juno (3.8/4.2) except for the Eclipse Dali/JPA integration
I use Eclipse Juno and I installed Jboss Tool for helios version.
Works like a charm.
This stable version of JBoss Tools 4.0.0 works well with Eclipse 4.2 (Juno).
Steps :
Add this URL 'JBoss Tools - Core - Stable Release Update Site ' to site URL's
(Help > Install New Software > Add )
Select the features to install, or click the Select All button.
Click Next, agree to the license terms, and install.
Note : You can also download JBoss Tools as individual zips for offline installation.
Refer :JBoss Tools 4.0.1.Final Stable Release
Please find the below steps to add JBoss Tools for Eclipse Juno
Go to Help -> Eclipse Marketplace
Type JBoss Tools in the Find text box
You can see the JBoss Tools (Juno) icon in the listed items with install button
Click on the install button
Restart your Eclipse to reflect.

Eclipse randomly exits after installation of Blackberry plugin/SDK

Since adding the Blackberry Java classes from their website into eclipse, I've had it where eclipse will randomly close, with no discernible pattern, rhyme, error or reason. Here is the environment/software packages that I am using:
Windows XP SP2
Eclipse v3.5.1
Blackberry Java Plugin v1.1.1.200911111641-15
Blackberry Java SDK 4.5.0.21
I've tried the usual steps of complete uninstall and reinstallation of Eclipse and the accompanying plugins on multiple systems with the same configuration, including one that had a fresh install of Windows XP SP2. Upgrading to Eclipse 3.6 didn't work (the plugin wont' install as it's the wrong version), nor the downgrade to 3.4 for the same reason. I also increased the heap size to 512 (system has two gigs of memory) as some research into Eclipse doing this type of thing with Groovy was resolved that way, but again, no dice. Eclipse works great when the blackberry plugins are not installed, and no entries of errors or issues in the event log are helping to show what the issue with these plug-ins might be.
So if anyone has ran into this issue, and even better, has a solution, I'd love to hear about it. Thanks in advance.
EDIT: An additional to my issue, autoComplete with the Blackberry SDK seems to make this extremely unstable, like almost a guaranteed crash. Is this fixable at all?
For anyone that loads this question up trying to find a solution, I've never found a fix. It seems to be a bug with this version of the IDE. If there is a fix, please post.
Did you try to downgrade Eclipse to 3.4 (Ganymede)? I experienced similar issues when I tried upgrading Eclipse to something greater than 3.4.2.
I think the problem is with the plugin, not the IDE. Eclipse has always been stable for me until I installed the BB plugin. Since then it crashes all the time. Since I've installed the release (non-beta) version of the plugin that was recently released I can't even get my project to build.
This could be a manifestation of this bug in Eclipse. Check your C:\eclipse directory for files like hs_err_pidxxxx.log. The file goes on to explain this error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x753ba053, pid=3144, tid=5820
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [USP10.dll+0x1a053]
I've been experiencing this as well. It's completely debilitating. It causes Eclipse to just up and crash out of nowhere (and programming in a language as verbose as Java without Content-Assist is insane).
The bug has been fixed in Eclipse 3.6M7, but unfortunately I can't get the JDE Plug-in to install in the latest release candidate.
This is a known issue with Eclipse 3.5.X and has been fixed for 3.6.0
Bug Ticket link on Eclipse Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=283503
Looks like we are stuck with this until the next update to the BB Eclipse plugin.