Peter Benedikovic's blog

Thursday Apr 05, 2012

This blog is intended to inform about
bug fix that solves this issue.
Before continuing further, one important note – the linux and mac
users do not need to read further because this bug appears only on
Windows.

The problem was that the runtime plugin registered new runtime and server each time the Eclipse
started. Users ended up with server view looking like this:

I have created new runtime plugin which
is now available at the update site
http://download.java.net/glassfish/eclipse/indigo (or the same ending with juno for Juno users).
You will still need to unistall the buggy plugin and (optionally but
recommended) to remove runtimes created by this plugin. Here is the
guide how to install bugfix:

Remove runtimes created by old plugin –
via Window->Preferences->Server->Runtime Environment. After
pressing remove button you may be asked if you want to remove also
the servers based on runtime being removed. Recommended is to do so.

Now you can install new runtime
plugin. Go to Help->Install New Software.

You may ask why I haven‘t provided the update for buggy runtime which could be installed via Check for
updates feature of Eclipse. It has two main reasons:

The bug fix is needed only for
Windows users so I didn't want to bother other users by updating
working plugin.

The runtime plugin has had
structure that was not quite suitable for Eclipse update. This structure is now
changed so future bugs (I am sure that there will be no such ;)) can
be fixed by standard update.